therubyracer install error
You can use the Libv8 from the brew instead of the one from gem. You can do that by following commands: $ gem uninstall libv8 $ brew install v8 $ gem install therubyracer
You can use the Libv8 from the brew instead of the one from gem. You can do that by following commands: $ gem uninstall libv8 $ brew install v8 $ gem install therubyracer
This steps worked for me. OS: Maverick Ruby: 2.1.1 gem uninstall libv8 gem install therubyracer -v ‘0.11.3’ gem install libv8 -v ‘3.11.8.13’ — –with-system-v8
If you decide to use a newer therubyracer gem version, you will no longer have this problem Otherwise: brew tap homebrew/dupes # Thanks Tom brew install apple-gcc42 export CC=/usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/gcc-4.2 export CXX=/usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/g++-4.2 export CPP=/usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/cpp-4.2 brew uninstall v8 gem uninstall libv8 gem install therubyracer -v ‘0.10.2’ # specify version