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
[email protected]