Recognition failed for "/stylesheets/scaffold.css"

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:inrecognize!’
/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:inprocess_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:ineach_cgi’
/usr/lib/ruby/1.8/fcgi.rb:597:in each' /usr/lib/ruby/1.8/fcgi.rb:597:ineach_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:inprocess!’
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

does public/stylesheets/scaffold.css exist?

fixed it - it was actually a problem with .htaccess

yes - I can navigate to it directly on my home PC in development
(webbrick),
but on dreamhost (fastcgi) it doesn’t seem to work and I get this error.
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. Also an earlier version of the app on
dreamhost was working, but I just can’t figure out what could now be
causing
this issue on the latest version. Wondering what type of things could
cause
such a “Recognition failed” error?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs