Server unable to find public folder in rails 3 production environment

Posted by James on Stack Overflow See other posts from Stack Overflow or by James
Published on 2010-05-07T05:07:28Z Indexed on 2010/05/07 5:18 UTC
Read the original article Hit count: 484

Hi, I'm using the latest rails 3 beta. The app works fine in development mode, but when I start the server in production mode via rails server -e production, it seems that the public folder can't be found. I get error messages like:

ActionController::RoutingError (No route matches "/javascripts/jquery.js"):

And similar messages for everything that should be in the public folder. I've tried this with both mongrel and webrick. I'd appreciate any help.

© Stack Overflow or respective owner

Related posts about ruby-on-rails3beta

Related posts about ruby-on-rails