I’ve got this app running in development just right, but when I deploy the bugger, everything starts falling apart 🙁
So I tried grabbing the log while running development on my Mac – and then the exact thing, on the exact same platform (just switching from development to production environment). I believe to have not been messing with config/application.rb, config/environment.rb or config/environments/*
I’ve saved the screen output here: https://gist.github.com/1692260
Really could do with a helping hand – as this is baffling me 🙁
Have you tried changing to
in
production.rb?Webbrick cannot serve static files. This is why you must have rails do it. If you use apache or nginx, they could serve the static files for you. But that requires some configuration.
You can find information on how to configure Apache and Nginx here.