Last active
February 25, 2017 07:47
-
-
Save evgeniy-trebin/7a60cdd7ea3d374f145888cee7bc2d6f to your computer and use it in GitHub Desktop.
Install therubyracer on the OSX ( libv8 therubyracer error )
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew tap homebrew/versions | |
brew uninstall v8 | |
gem uninstall -a libv8 | |
gem uninstall -a therubyracer | |
brew install v8-315 | |
- if it throws error from the previous v8 | |
brew unlink v8 | |
brew link --force v8-315 | |
bundle config build.libv8 --with-system-v8 | |
bundle config build.therubyracer --with-v8-dir=/usr/local/opt/v8-315 | |
bundle install | |
gem install libv8 -v '3.16.14.17' -- --with-system-v8 | |
gem install therubyracer -v '0.12.3' -- --with-v8-dir=/usr/local/opt/v8-315 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment