Installing libv8 gem on OS X 10.9+

后端 未结 20 1012
旧时难觅i
旧时难觅i 2020-11-29 14:41

I\'m trying to install libv8 3.16.14.3 but getting an error on OSX Mavericks using latest stable rvm and ruby-1.9.3-p125.

This is the output of running the command \

20条回答
  •  执念已碎
    2020-11-29 15:25

    This worked fine for me:

    Try installing this pre-compiled gem:

    https://dl.dropboxusercontent.com/u/7919548/gems/libv8/libv8-3.11.8.17-x86_64-darwin-13.gem (sha1:5ce07aaf4085fff5a5e10fe018fd6b22021bef3b)

    Or if you prefer to build your own:

      git clone https://github.com/cowboyd/libv8.git
      cd libv8
      git checkout 3.11
      bundle install
      bundle exec rake clean build binary
      gem install pkg/libv8-3.11.8.17-x86_64-darwin-13.gem
    

    Source: https://github.com/cowboyd/libv8/issues/107

    Thanks to Felix Bünemann for the fix!

提交回复
热议问题