How to install therubyracer gem on 10.10 Yosemite?

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

    This solution worked for me following Jakub Troszok's solution above with just a minor change

    gem uninstall libv8
    gem install therubyracer -v '0.12.1'
        Fetching: libv8-3.16.14.19-x86_64-darwin-18.gem (100%)
        Successfully installed libv8-3.16.14.19-x86_64-darwin-18
        Building native extensions.  This could take a while...
        Successfully installed therubyracer-0.12.1
        Parsing documentation for libv8-3.16.14.19-x86_64-darwin-18
        Installing ri documentation for libv8-3.16.14.19-x86_64-darwin-18
        Parsing documentation for therubyracer-0.12.1
        Installing ri documentation for therubyracer-0.12.1
        Done installing documentation for libv8, therubyracer after 0 seconds
        2 gems installed
    gem install libv8 -v '3.16.14.17' -- --with-system-v8  (if the libv8 version required for your project is different from the one installed by rubyracer)
    bundle install
    

提交回复
热议问题