Forum: Ferret Re: Ferret with relative index paths

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.
9b96e0c57eccef0f495b837b714fc466?d=identicon&s=25 Fraumeni, James (Guest)
on 2006-02-16 17: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

--
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
jfraumeni@tufts-nemc.org
22580f640e491f0920a192610d1df393?d=identicon&s=25 Tom Davies (Guest)
on 2006-02-16 23: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.

Tom
This topic is locked and can not be replied to.