Created
March 30, 2015 22:02
-
-
Save dvdasari/0e43ea99ed369859fe32 to your computer and use it in GitHub Desktop.
install therubyracer 0.11.4
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 unlink apple-gcc42 (if apple-gcc42 was already installed with brew) | |
brew install apple-gcc42 | |
sudo rm /usr/bin/gcc | |
sudo rm /usr/bin/g++ | |
sudo rm /usr/bin/cpp | |
sudo ln -s /usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/gcc-4.2 /usr/bin/gcc | |
sudo ln -s /usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/g++-4.2 /usr/bin/g++ | |
sudo ln -s /usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/cpp-4.2 /usr/bin/cpp | |
brew uninstall v8 (if v8 was already installed with brew) | |
bundle install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment