在本地修改CSS之后,部署到heroku没变化,
1 执行预先编译的操作

rake assets:precompile  ##compile all the assets named in config.assets.precompile
git add .
git commit -m"precompile"

2 修改config/environments/production.rb

config.assets.compile = false  => config.assets.compile = true 
rake assets:precompile
git add .
git commit -m"precompile" 
heroku logs|grep -i -E'error|fatal'
heroku logs|grep -i error
bundle exec rake assets:precomplie
git push -f heroku master
rake db:clean
rake assets:clean
rake assets:precompile