Report this

What is the reason for this report?

app works but stylesheet not found

Posted on October 13, 2013

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?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

I have the same problem :(

My app runing at production mode

Is your app running in production mode?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.