Forum: Ruby on Rails Rails doesn't serve static files in production mode

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Johannes H. (Guest)
on 2006-05-16 20:55
I just noticed this:

RoR does serve static files on a lighttpd-server just fine - in
development mode. If I set it to production in environment.rb - static
files are not served anymore (like the scaffold.css).

How can I fix this?
Johannes H. (Guest)
on 2006-05-17 01:36
found some additional info in my production.log

ActionController::RoutingError (Recognition failed for
    /usr/lib/site_ruby/1.8/fcgi.rb:600:in `each_cgi'
    /usr/lib/site_ruby/1.8/fcgi.rb:597:in `each_cgi'
Johannes H. (Guest)
on 2006-05-17 01:48
Nevermind... I just found the problem...
This topic is locked and can not be replied to.