Anyone know what might be the problem here?
ActionController::RoutingError (Recognition failed for
“/stylesheets/scaffold.css”):
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/routing.rb:522:in
recognition_failed' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/routing.rb:512:in
recognize!’
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:38:in
dispatch' /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:150:in
process_request’
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:54:in
process!' /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:53:in
each_cgi’
/usr/lib/ruby/1.8/fcgi.rb:597:in each' /usr/lib/ruby/1.8/fcgi.rb:597:in
each_cgi’
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:53:in
process!' /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:23:in
process!’
dispatch.fcgi:27
I don’t see how this could be a routes.rb error would it? My routes.rb
is
below
===========================
ActionController::Routing::Routes.draw do |map|
map.connect ':locale/admin/group/:action/:id', :controller =>
‘active_rbac/group’,
:defaults => {:locale => nil }
map.connect ‘:locale/admin/role/:action/:id’, :controller =>
‘active_rbac/role’,
:defaults => {:locale => nil }
map.connect ‘:locale/admin/static_permission/:action/:id’,
:controller
=> ‘active_rbac/static_permission’,
:defaults => {:locale => nil }
map.connect ‘:locale/admin/user/:action/:id’, :controller =>
‘active_rbac/user’,
:defaults => {:locale => nil }
map.connect ':locale/login',
:controller => 'active_rbac/login', :action => 'login',
:defaults => {:locale => nil }
map.connect ':locale/register/:action/:id',
:controller => "active_rbac/registration",
:defaults => {:locale => nil}
map.connect ':locale/logout', :controller =>
‘active_rbac/login’,:action
=> ‘logout’,
:defaults => {:locale => nil }
map.connect ‘:locale/register/confirm/:user/:token’, :controller =>
‘active_rbac/registration’, :action => ‘confirm’,
:defaults => {:locale => nil }
map.connect ':locale/:controller/:action/:id',
:defaults => {:controller => "splash"}
map.connect '', :locale => 'en', :controller => "splash"
end
Other background (not sure if this is significant): I’m finding my image
and
stylesheets are resolving fine on windows/webbrick, but not on unix
(Dreamhost). I can’t navigate to them on dreamhost and I get a “File
not
Found - Change this error message for pages not found in
public/404.html”
One difference is that on dreamhost (fastcgi) I do use Capistrano so my
rails application is under /current/, but I have mapped this in the
dreamhost domain setup tool.
Tks