Forum: Ferret Re: Ferret with relative index paths

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Fraumeni, James (Guest)
on 2006-02-16 18:26
(Received via mailing list)
I'm a relative nuby to Ruby, but my inclination would be to add a call
to Dir::pwd() right before you open the index to see what Ruby is using
as its current working directory (and then figure out why). One fix
would be to use Dir::chdir() to change the current working directory,
although that doesn't seem to me to be a very robust solution.


James Fraumeni
Center for the Evaluation of Value and Risk in Health
Institute for Clinical Research and Health Policy Studies
750 Washington St.
Tufts-New England Medical Center, #063
Boston, MA 02111
Tom D. (Guest)
on 2006-02-17 00:10
(Received via mailing list)
ok, it was due to the setup at TextDrive.  The current directory was
the public directory rather than the project root.

Thanks for the idea James.  It looks like I am going to have to
configure my dev vs production independently.

This topic is locked and can not be replied to.