When I start up rails in production mode, it precompiles all the assets but is unable to serve the application.css asset. I looked in public/assets
and the precompiled application.css exists.
However, I get a 404 whenever I try to access it from the page.
These are the instructions I use to launch the server, if that may help at all.
RAILS_ENV=production bundle exec rake assets:clean
RAILS_ENV=production bundle exec rake assets:precompile
rails -e production
assets
folder in the root of your application, not in thepublic
folder? Forgive me if this is wrong. – Binturongpublic
folder – Paquette