title: rails 3.1.3: trying to run locally in production, asset pipeline not working
body: <p>My app runs fine in development mode. </p>
  
  <p>When I run in production mode using <code>RAILS_ENV=production rails s</code> none of my .css or .js files get loaded. (I did precompile assets, using <code>RAILS_ENV=production bundle exec rake assets:precompile</code>.)</p>
  
  <p>The webrick log shows:</p>
  
  <p>ActionController::RoutingError (No route matches [GET] "/assets/application-a73ce43be7bf75953cd0c60b2b4a7eb0.js"):</p>
  
  <p>and</p>
  
  <p>ActionController::RoutingError (No route matches [GET] "/assets/application-986dd79830088c416c1632c12999ec69.css"):</p>
  
  <p>The files were compiled (according to the log\production.log file) and my public/assets directory does show those files with and without the fingerprint:</p>
  
  <pre><code>ls public/assets
  application-986dd79830088c416c1632c12999ec69.css
  application-986dd79830088c416c1632c12999ec69.css.gz
  application-a73ce43be7bf75953cd0c60b2b4a7eb0.js
  application-a73ce43be7bf75953cd0c60b2b4a7eb0.js.gz
  application.css
  application.css.gz
  application.js
  application.js.gz
  </code></pre>