Add settings for heroku in application controller and gemfile