installing with native extensions stall #62

ArthurCamara opened this Issue Dec 13, 2012 · 4 comments


None yet

5 participants


When trying to install the gem, the system stalls at

"Installing libv8 ( with native extensions"

Nothing happens further this. Any ideas?

BTW, i'm running OS X Mountain Lion with XCode present. Ruby 1.9.3 and rails 3.2.


I'm seeing the same thing happen on a Ubuntu 10.04 VPS

cc1plus is running at 20-70% of my CPU while it's not doing anything...

EDIT - It did finish, just took like 10 minutes..

zobar commented Dec 15, 2012

Unless your version of the libv8 gem has a precompiled binary for your platform, installing libv8 means recompiling the V8 library. This can take quite a long time (~15 minutes on a small EC2 instance).

Not every version of libv8 has precompiled binaries for every platform. Some binaries were never released; others were released but later yanked. The current version ( does not currently have binaries for any platform.

If you need a binary libv8, the most recent version you can use will be either or, depending on your CPU, OS, and OS version. These versions correspond with therubyracer 0.11.0 and 0.10.2, respectively. Since this is a little bit of a hodgepodge, I put together this table for reference:

CPU OS OS Version libv8 therubyracer
amd64 freebsd 8 0.10.2
x86 darwin 10
freebsd 9 0.11.0
x86_64 darwin 10
11 0.10.2
12 0.11.0
cowboyd commented Dec 18, 2012

This is an excellent rendition of the state of things @zobar, thanks! I'm drafting a proposal on a potential solution to this and other problems which will be posted on cowboyd/therubyracer#215

@cowboyd cowboyd closed this Dec 18, 2012

Wow, yeah, that took a while...

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