Updated application.rb for heroku compilation