Installing libv8 gem on OS X 10.9+

I’m trying to install libv8 3.16.14.3 but getting an error on OSX Mavericks using latest stable rvm and ruby-1.9.3-p125. This is the output of running the command ‘gem install libv8’: ~/src(branch:master) » gem install libv8 Fetching: libv8-3.16.14.3.gem (100%) Building native extensions. This could take a while… ERROR: Error installing therubyracer: ERROR: Failed to build gem … Read more