Forum: Ruby on Rails Routing Error after upgrade

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
4101827b31cd8b19eceba33bcf1cb1d1?d=identicon&s=25 Angela Greenwood (agreenwood)
on 2007-02-15 11:21
My hosting company has upgraded to: ruby-1.8.5 rubygems-0.9.0

And I am now getting the following error on my ruby site:

http://www.scottisharchitecture.com/en/public/

no route found to match ”/en/public/” with {:method=>:get}
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.2/lib/action_controller/routing.rb:1292:in
`recognize_path’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.2/lib/action_controller/routing.rb:1282:in
`recognize’
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/dispatcher.rb:40:in
`dispatch’
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/fcgi_handler.rb:168:in
`process_request’
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/fcgi_handler.rb:143:in
`process_each_request!’
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/fcgi_handler.rb:109:in
`with_signal_handler’
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/fcgi_handler.rb:142:in
`process_each_request!’
/usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:612:in
`each_cgi’
/usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in `each’
/usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in
`each_cgi’
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/fcgi_handler.rb:141:in
`process_each_request!’
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/fcgi_handler.rb:55:in
`process!’
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/fcgi_handler.rb:25:in
`process!’ /home/scotarch/public_html/en/public/dispatch.fcgi:24

They are telling me everything is working fine on the server and can’t
help me.

In my routes.rb I set up the following routing: map.connect ’’,
:controller => “page”, :action => ‘view’, :id => ‘home.html’

I have checked my controllers and there is a page_controller.rb setup
with a view function defined.

I tried setting my rails root in the file /en/public/.htaccess but that
has made no differance.

Can any one tell me why I may be getting this error?

Thank you :)
This topic is locked and can not be replied to.