add https://devcenter.heroku.com/articles/rails-4-asset-pipeline line to config/application.rb file