I\'m trying to install the following gem versions on Mavericks
Obviously therubyracer gems depe
For those facing this problem in OS X El Capitan, this solution from a therubyracer issue thread was what finally worked for me:
brew tap homebrew/versions
brew install v8-315
gem install libv8 -v '3.16.14.13' -- --with-system-v8
gem install therubyracer -- --with-v8-dir=/usr/local/opt/v8-315
bundle install
I had also run brew install gcc
prior, but I'm not sure whether this was in fact necessary.