Skip to content

Instantly share code, notes, and snippets.

@jhadeepakkumar14
Forked from fernandoaleman/fix-libv8-mac.txt
Created April 11, 2020 18:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jhadeepakkumar14/2f429203ae871a79294cc4764172d4e0 to your computer and use it in GitHub Desktop.
Save jhadeepakkumar14/2f429203ae871a79294cc4764172d4e0 to your computer and use it in GitHub Desktop.
Fixing libv8 and therubyracer on Mac
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
@jhadeepakkumar14
Copy link
Author

  • $ brew install v8@3.15

  • $ bundle config build.libv8 --with-system-v8

  • $ bundle config build.therubyracer --with-v8-dir=$(brew --prefix v8@3.15)

  • $ bundle install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment