The Answers Depend On The Question

Trouble with gem libv8

While setting up a new VM for a Rails app I ran into an error message while running bundle install. The error message:

Usually this means that there is an error compiling a binary for the gem. But from the error below it appeared there was a problem with my python version.

Since I had an older version of python installed, I figured I should upgrade it but after upgrading I got this error:

Ok upgrading didn’t work. I decided to do a quick search in Google and found that libv8 is an interface for the V8 engine that is used by therubyracer gem that allows Ruby to evaluate JavaScript. I already had therubyracer installed so all I needed to do was add the following options to my libv8 gem install. Below is what I used:

Lo and behold everything worked and installed properly. Yay!

Leave a Reply

Your email address will not be published. Required fields are marked *