Why is RAILS_ROOT so back and forth?

* Joe Ruby MUDCRAP-CE <rails-mailing-list@andreas-s.net> [2006-10-12 13:46]:

RAILS_ROOT is:

script/../config/../config/..

Why does it go back and forth like that? I mean, it goes into /config twice!

Making it cleaner doesn't always work if there are symlinks involved. http://dev.rubyonrails.org/ticket/2533