update application.rb and gemfile while trying to fix the missing-css problem on heroku