I can''t remember when, or what I was doing, but now I can''t retrieve the CSS files for my sites layout (I don''t think ror is handing them out properly). I''m pretty sure that I didn''t touch anything. I don''t know much about routes yet (I checked the routes.rb file with a freshly generated one, and it was the same). What can be gleaned from this development log entry? ActionController::RoutingError (Recognition failed for "/stylesheets/scaffold.css"): /vendor/actionpack/lib/action_controller/routing.rb:444:in `recognition_failed'' /vendor/actionpack/lib/action_controller/routing.rb:434:in `recognize!'' /vendor/railties/lib/dispatcher.rb:32:in `dispatch'' /vendor/railties/lib/fcgi_handler.rb:144:in `process_request'' /vendor/railties/lib/fcgi_handler.rb:64:in `process!'' /vendor/railties/lib/fcgi_handler.rb:55:in `each_cgi'' /usr/lib/ruby/1.8/fcgi.rb:597:in `each'' /usr/lib/ruby/1.8/fcgi.rb:597:in `each_cgi'' /vendor/railties/lib/fcgi_handler.rb:55:in `process!'' /vendor/railties/lib/fcgi_handler.rb:21:in `process!'' /var/www/iks/public/dispatch.fcgi:26 -- Posted via http://www.ruby-forum.com/.
No ideas? Would it be a good idea to recreate a rails app and then copy over the work I''ve done? -- Posted via http://www.ruby-forum.com/.
On 1/18/06, Xavier Lange <cuxrl@eiu.edu> wrote:> No ideas? Would it be a good idea to recreate a rails app and then copy > over the work I''ve done?If this is an older app that used the old initialization process, you should run "rails ." in the root of the app, so that the new environment.rb, boot.rb, etc, etc, can be set up.