Skip to content

Instantly share code, notes, and snippets.

@macteo
Created October 22, 2013 09:06
Show Gist options
  • Save macteo/7097483 to your computer and use it in GitHub Desktop.
Save macteo/7097483 to your computer and use it in GitHub Desktop.
Build and install libv8 on 10.9 Mavericks, needed to run TheRubyRacer.
Gist from [here](http://stackoverflow.com/questions/19270108/therubyracer-error-error-while-executing-gem-nomethoderror-undefined-meth)
git clone https://github.com/cowboyd/libv8.git
cd libv8
bundle install
bundle exec rake checkout
bundle exec rake compile
bundle exec rake build
gem install ./pkg/libv8-3.16.14.3.gem
To avoid missing gem on rvm cache:
cp ./pkg/libv8-3.16.14.3.gem ~/.rvm/gems/ruby-1.9.3-p448/cache
replacing `ruby-1.9.3-p429` with your ruby version.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment