Heroku support in application.rb pre Rails4.1