On Jun 23, 7:02=A0pm, Tony Arcieri <tony.arci... / medioh.com> wrote:
> In cases where I actually need this, I usually have a "root" method defin=
ed
> on the class/module that represents the project. =A0This is usually calcu=
lated
> from __FILE__ based off the file where the "root" method is defined. =A0I
> prefer to have this be the only usage of __FILE__ in the entire project, =
if
> possible.

I need to find the root external to the project itself. In fact I
would be very weary of ever looking up a project's root from within
the project's code. Different install setups will not necessarily keep
a project intact.