My website has been broken since Dreamhost upgraded their servers a couple of weeks ago. I have been tearing my hair out trying to get it fixed and made some progress but am stu
I just a saw a presentation on this.
I've used rubytheracer up till now. Apparently it ain't so great. And it's huge.
But you can use any javascript runtime.
The other two recommended are execjs and node.js (which is very hot right now).
Make sure to gem install the selected gem and then bundle install or bundle update for your app.
One other note is that you should switch to 1.9.2 also.
Install RVM (bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer))
and you can have both 1.8.7 and 1.9.2 side-by-side.