Heroku没有更新导轨应用程序的CSS [英] Heroku not updating css for rails app
问题描述
请记住,您必须在本地提交更改,然后才能推送它们。 b
$ b
如果你做了一个 git status
,它应该是干净的。
如果它不是(我的预测):
$ b $ pre $ g $ git commit -am你的提交信息
git push heroku master
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 heroku, the CSS never changes. I tested these changes locally and they work just fine, I just can't figure out how to push them to heroku. I've tried pushing with git push heroku, heroku db:push, and heroku rake db:migrate but nothing works. Thanks for your help.
Remember that you have to commit the changes locally before you can push them.
If you do a git status
, it should be clean.
If it's not (my prediction):
git commit -am "Your commit message"
git push heroku master
这篇关于Heroku没有更新导轨应用程序的CSS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!