I don\'t manage to install therubyracer gem on Yosemite 10.10.
Here is the log:
11:53 $ gem install libv8 -v \'3.16.14.3\' -- --with-system-v8 Building
Only this works for me in my Yosemite, Ruby 2.1.2:
gem install libv8 -v '3.16.14.3' -- --with-system-v8 brew link --overwrite v8-315 --force gem install therubyracer -v '0.12.2' -- --with-system-v8