Rails precompile assets - Cannot access precompiled files locally
问题 I have a mysterious problem in my rails application, which I cannot fix. The thing is that I want to precompile my CSS and JavaScripts and run the server on the staging environment locally to check if everything is ok, before I deploy to the server. I run this command to precompile the files: rake assets:precompile RAILS_ENV=staging To start the server in staging environment i run this command: rails s -e staging The files are being precompiled successfully and placed in the public/assets