Forum: Ferret acts as ferret creates redundant default index directory?

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.
E74a88a96ce8caecbc7d265e4763e26c?d=identicon&s=25 Stuart Rackham (Guest)
on 2007-02-14 02:37

I'm using a non-default index directory (acts_as_ferret :index_dir
option) but the unused default (./index/) is still created at load

The culprits are the two calls to ensure_directory in the
init_index_basedir method in acts_as_ferret.rb that seem to be
redundant. Removing the calls to init_index_basedir fixes the problem
with no apparent side effects.

Cheers, Stuart
This topic is locked and can not be replied to.