Add code to config/application.rb to fix Heroku deployment