When trying to install the gem, the system stalls at
"Installing libv8 (220.127.116.11) 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..
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 (18.104.22.168) does not currently have binaries for any platform.
If you need a binary libv8, the most recent version you can use will be either 22.214.171.124 or 126.96.36.199, 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:
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
Wow, yeah, that took a while...