Nick,
therubyracer-heroku and therubyracer versions 0.8.1 are ancient. Please try using the normal version of therubyracer at it most recent release, currently version 0.11.3
gem install therubyracer
or, if you feel you must stick to a particular version
gem install therubyracer -v 0.11.3