How to install therubyracer gem on 10.10 Yosemite?

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

    Maybe it will be useful for someone but I had problems installing therubyracer (because of the problems with libv8) the solution was to uninstall all the libv8 that I had installed. Install therubyracer

    $ gem uninstall libv8
    $ gem install therubyracer -v '0.12.0'
    Fetching: libv8-3.16.14.7-x86_64-darwin-14.gem ( 57%)
    Fetching: libv8-3.16.14.7-x86_64-darwin-14.gem (100%)
    Successfully installed libv8-3.16.14.7-x86_64-darwin-14
    Building native extensions.  This could take a while...
    Successfully installed therubyracer-0.12.0
    2 gems installed
    

    I hope this helps someone.

提交回复
热议问题