Forum: Ferret 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.
Tom D. (Guest)
on 2006-02-16 16:40
(Received via mailing list)

I have ferret working fine on my Dev machine using a relative index
path as follows:

USER_INDEX = => "indexes/user", :key => 'id',
:auto_flush => true)

And the indexes/user directory is located directly off the root of my
project tree.

But when I migrate this same code to my shared TextDrive account,
Ferret cannot find the index directory and throws this exception:

`initialize': There is no directory: indexes/user. Use create = true
to create one (RuntimeError)

Do I have to use absolute paths?  Or is it perhaps looking somewhere
else for the root of its relative paths in different environments?

This topic is locked and can not be replied to.