How to install therubyracer gem on 10.10 Yosemite?

后端 未结 18 1010
栀梦
栀梦 2020-11-30 17:21

I don\'t manage to install therubyracer gem on Yosemite 10.10.

Here is the log:

11:53  $ gem install libv8 -v \'3.16.14.3\' -- --with-system-v8


Building         


        
18条回答
  •  伪装坚强ぢ
    2020-11-30 17:56

    They have corrected this issue in the most recent version of libv8. See: https://github.com/cowboyd/libv8/issues/123

    You should install from the github repo, in rails I added a line to my gemfile like this gem "libv8", git: "git://github.com/cowboyd/libv8.git", submodules: true

    EDIT:

    This apparently only solves some of the problem. I installed the new version of libv8, but now the rubyracer is still looking for the other one I think? Still looking into it.

提交回复
热议问题