Update gem and application.rb file to run on Heroku