Installing libv8 gem on OS X 10.9+

后端 未结 20 1034
旧时难觅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:16

    El Capitan Solution for me:

    $ brew install v8
    $ gem install libv8 -v REQUIRED_LIBV8_VERSION -- --with-system-v8
    

    Where REQUIRED_LIBV8_VERSION for me was 3.16.14.7, but you need to check which is the one you need in your bundle (this was the one for rails 4.2.5)

    You may also need to run the commands above as the superuser (if your gems and system libraries are global)

提交回复
热议问题