Forum: Ruby on Rails routing problems (works with mongrel / webrick, but fails in

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.
66d1d0df01e4bbb82674a353ea68d6ee?d=identicon&s=25 Josh Kieschnick (jjkiesch)
on 2007-07-21 03:01
(Received via mailing list)
for some reason all of the apps in my server are not working when i
upgraded my version of rails. booting up a ruby server on the same
machine works fine, but when using fcgi/apache, only my root level
routes are working.

as a temporary fix, i was able to add a custom route for every
controller i have like this...


map.connect 'mycontroller/:action/:id', :controller => 'mycontroller'


but i would like to figure out why this is happening in the first
place. some searching around, i found a few people with the same
problem but there weren't any responses as to what could be the cause.

anyone else has this problem with the default routes not working? here
is the versions of everything that i am using:

ruby 1.8.4
rails 1.2.3
gem 0.9.2
rake 0.7.2
66d1d0df01e4bbb82674a353ea68d6ee?d=identicon&s=25 Josh Kieschnick (jjkiesch)
on 2007-07-21 03:26
(Received via mailing list)
I finally found something: http://dev.rubyonrails.org/ticket/6755

Apparently it has something to do with the fact that I have my app
symlinked to a folder that's not the root. as suggested in that link,
adding realpath() to RAILS_ROOT in the boot.rb seems to have fixed my
problem.

Anyone know if this is going to be fixed in a future version?
This topic is locked and can not be replied to.