Heroku not updating css for rails app

后端 未结 5 2061
春和景丽
春和景丽 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:03

    In my case it was because a previous developer had set up to do compiles locally instead of at deploy time. I had a manifest file that I needed to delete:

    public/assets/manifest-.json
    

    Once I deleted that and pushed, heroku built my assets.

提交回复
热议问题