Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save michalvalasek/372d58e741f71e5b48ea51eb2311c921 to your computer and use it in GitHub Desktop.
Save michalvalasek/372d58e741f71e5b48ea51eb2311c921 to your computer and use it in GitHub Desktop.
Installing therubyracer and libv8 gems on OSX
When bundle install fails because it can't install libv8 (dependency of therubyracer) try this:
brew tap homebrew/versions
brew install v8-315
gem install libv8 -v '3.16.14.13' -- --with-system-v8
gem install therubyracer -- --with-v8-dir=/usr/local/opt/v8-315
bundle install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment