Routing error in 1.2.3, do I need realpath() in all apps?

I have my applications hosted on a shared server which is running rails
1.2.3, and I’m having a routing problem. Whenever I try to access one of
actions I get this error:
“Routing Error
no route found to match “/items/list” with {:method=>:get}”

I googled the error and found that I should add .realpath() to the
RAILS_ROOT in boot.rb. Is there a better fix for this, or was it patched
in a newer version of rails? It seems like I shouldn’t have to edit
boot.rb for every application that I make.