How to install therubyracer gem on 10.10 Yosemite?

后端 未结 18 1022
栀梦
栀梦 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:54

    None of the answers work for me this time. I have too use this:

    brew tap homebrew/versions
    brew install v8-315
    
    gem install libv8 -v '3.16.14.13' -- --with-system-v8
    gem install therubyracer -- --with-v8-dir=/usr/local/opt/v8-315
    
    bundle install
    

    Seen on the rubyracer Github issues.

    Hope it helps someone else.

提交回复
热议问题