Last Updated: February 25, 2016
·
229
· blair

An error occurred while installing libv8 (3.16.14.3) - with rails3 and ruby2

If you see this error:

An error occurred while installing libv8 (3.16.14.3), and Bundler cannot continue.
Make sure that gem install libv8 -v '3.16.14.3' succeeds before bundling.

Then you should change the v8 engine

gem uninstall libv8
brew install v8
gem install therubyracer
gem install libv8 -v '3.16.14.3' -- --with-system-v8