Question

app works but stylesheet not found

Posted October 13, 2013 4.5k views
I've got a barebones Rails deployed to a remote server, however, it's not showing any styles. If I check the page source, there's a link to the stylesheet (it uses the twitter bootstrap gem) but when I click the link, I get a 404 Not Found http://162.XXX.XXX/assets/application-99190f98350e7ed3bb886d20f87bedfd.css 404 Not Found nginx/1.4.3 It's the same for the javascript. Anyone know what the problem might be?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
3 answers
Is your app running in production mode?
I have the same problem :(
My app runing at production mode
Submit an Answer