Rails serves old css file in production -
in application scss had:
.red { background-color: #f48585 !important; }
then deleted these styling. deployed app heroku, did
git add -a git commit -m "message" git push heroku master heroku run bundle heroku run rake db:setup
my app deployed, styles foundation framework etc work. still have .red class styles defined. , new styles ignored, seems rails server old css file. of style assets precompiled 1 file application.scss.
you forgot 1 step:
git add -a
git commit -m "message"
git push origin your-git-branch
git push heroku master
after last command heroku automatically run bundle install , setup project/app running in production mode.
Comments
Post a Comment