Skip to content

Instantly share code, notes, and snippets.

@nCore
Created October 27, 2014 09:23
Show Gist options
  • Save nCore/9d4b10f3f1c49e33fa7e to your computer and use it in GitHub Desktop.
Save nCore/9d4b10f3f1c49e33fa7e to your computer and use it in GitHub Desktop.
When therubyracer won't install
I got it fixed by a dumb solution:
brew install v8
bundle install
# after failing go to
cd /Users/alecslupu/.rvm/gems/ruby-1.9.3-p448@my_gemset/gems/libv8-3.3.10.4/lib/libv8/build/v8
ln -s /usr/local/Cellar/v8/3.21.17/lib/libv8_base.x64.a ./libv8.a
bundle update
Aparently the problem is in libv8 (3.3.10.4) gem that is not building on a mavericks system, for that reason the "libv8.a" is never created.
by @alecslupu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment