Libv8 error (3.11.8.17) on Mac

I upgraded ruby ​​to 1.9.3 and now I can not start my server. When I start the installation of the package, it says

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

When I try to install this stone, he says

 ERROR: Error installing libv8: ERROR: Failed to build gem native extension. /Users/Erica/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb creating Makefile Compiling v8 for x64 Using python 2.7.1 Unable to find a compiler officially supported by v8. It is recommended to use GCC v4.4 or higher Using compiler: g++ Unable to find a compiler officially supported by v8. It is recommended to use GCC v4.4 or higher 

I am an HTML / CSS encoder, not a Ruby developer, so any thoughts are really appreciated.

+17
ruby-on-rails bundler
Sep 05 '13 at 20:58
source share
6 answers

I solved this problem using the following command:

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

He works with RVM on the Mavericks.

stack overflow

+28
Nov 25 '14 at 5:04
source share

Try reinstalling v8 in homebrew:

 gem uninstall libv8 brew install v8 gem install libv8 
+8
30 Oct '13 at 19:02
source share

do:

 gem install rmagick -v '2.13.2' gem install libv8 -v 3.11.8.17 -- --with-system-v8 
+3
Mar 05 '15 at 13:47
source share

I have encountered this problem several times, first of all, I will try to install (re) install command line tools . Usually should work.

Another attempt that failed once was to uninstall libv8 and then install it again. It takes age ...

0
Sep 05 '13 at 21:55 on
source share

I had the same issue when I upgraded from OSX Mountain Lion to OSX Mavericks.

The modification from ruby-1.8.7-p354 to ruby-1.8.7-375 did the trick for me.

libv8 (3.16.14.3-x86_64-darwin-13) and gems (0.12.0) are installed without problems.

Assuming you are using rbenv:

 rbenv versions system * 1.8.7-p354 2.0.0-rc2 rbenv uninstall 1.8.7-p354 rbenv install 1.8.7-p375 rbenv versions system * 1.8.7-p375 2.0.0-rc2 bundle install 
0
Apr 05 '14 at 3:00
source share

This is a simple solution for me:

 $ gem uninstall libv8 # select "All Versions" if prompted $ gem install libv8 
-one
Nov 14 '13 at 22:07
source share



All Articles