Fix so that Rails 4.0.0 runs on Heroku