Heroku not updating css for rails app

后端 未结 5 2048
春和景丽
春和景丽 2021-02-04 08:14

I\'m having trouble updating my rails app on heroku. I\'ve gotten my app up but I tried to change my application.css file in /public/stylesheets/ but whenever I try to push to

5条回答
  •  梦谈多话
    2021-02-04 09:13

    Each time you make changes on your CSS you need to run the following commands on the terminal:

    $bundle exec rake assets:precompile
    $git add . 
    $git commit -m "msg" 
    $git push heroku master
    

提交回复
热议问题