Skip to content

Instantly share code, notes, and snippets.

@dvdasari
Created March 30, 2015 22:02
Show Gist options
  • Save dvdasari/0e43ea99ed369859fe32 to your computer and use it in GitHub Desktop.
Save dvdasari/0e43ea99ed369859fe32 to your computer and use it in GitHub Desktop.
install therubyracer 0.11.4
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