How to fix libv8 error from Gemfile on Mavericks? How to fix libv8 error from Gemfile on Mavericks? ruby ruby

How to fix libv8 error from Gemfile on Mavericks?


You can actually install that version on Mavericks:

gem install libv8 -v 3.11.8.17 -- --with-system-v8

I can confirm this works with rbenv and ruby 1.9.3p448

See a similar thread here Installing libv8 gem on OS X 10.9+


You need to reinstall libv8

$ gem uninstall libv8$ brew install v8$ gem install therubyracer


Try with

gem "therubyracer", "~> 0.10.2" to Gemfile

And it will install dependent gem libv8 (3.3.10.4) and the issue of build gem native extension failure got resolve.