Created
September 18, 2015 07:54
-
-
Save dreamingechoes/9b76b7eaf86ff1961804 to your computer and use it in GitHub Desktop.
Script to solve installation of therubyracer gem version 0.10.2 on Mac OS X
This file contains hidden or 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/dupes | |
brew install apple-gcc42 | |
export CC=/usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/gcc-4.2 | |
export CXX=/usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/g++-4.2 | |
export CPP=/usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/cpp-4.2 | |
brew uninstall v8 | |
gem uninstall libv8 | |
gem install therubyracer -v '0.10.2' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment