How to install therubyracer gem on 10.10 Yosemite?

后端 未结 18 1001
栀梦
栀梦 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

    I had the same issue on Yosemite. My solution is similar to what appears above.

    Use gem uninstall libv8 to remove anything that might be installed.

    Leave therubyracer in your Gemfile, but remove any explicit reference to libv8.

    Run bundle install.

    libv8 then installed fine as a dependency.

提交回复
热议问题