Skip to content

Instantly share code, notes, and snippets.

@RunsFor
Created March 26, 2014 06:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RunsFor/9777657 to your computer and use it in GitHub Desktop.
Save RunsFor/9777657 to your computer and use it in GitHub Desktop.
Install new version of therubyracer on mac os x
brew tap homebrew/dupes # Thanks Tom
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' # specify version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment