Fix Rails 4 on Heroku