Forked from podlech/yosemite_ruby_libv8_therubyracer.sh
Last active
August 29, 2015 14:14
-
-
Save viniciuszago/5d60ad26617ea428d0c5 to your computer and use it in GitHub Desktop.
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 install homebrew/dupes/apple-gcc42 | |
rbenv install 1.9.3-p484 | |
rbenv global 1.9.3-p484 | |
git clone https://github.com/cowboyd/libv8.git | |
cd libv8 | |
git checkout 3.11 | |
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 | |
bundle install | |
bundle exec rake clean build binary | |
gem install pkg/libv8-3.11.8.17.gem | |
gem install therubyracer -v '0.11.4' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment