Skip to content

Instantly share code, notes, and snippets.

@flaviomuniz
Created September 17, 2015 12:22
Show Gist options
  • Save flaviomuniz/5edac2d1e979fa4f7e73 to your computer and use it in GitHub Desktop.
Save flaviomuniz/5edac2d1e979fa4f7e73 to your computer and use it in GitHub Desktop.
Fix libv8 in El Capitan
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment