Forum: Ruby on Rails How do I force loading of a non-default library?

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.
John G. (Guest)
on 2006-06-10 01:39
I deployed a Ferret-enabled app to TextDrive with ferret.rb and
associated libraries installed in RAILS_ROOT/lib. For a while, I've
convinced Rails to load ferret.rb from there, but only by hard-coding
it. Today, with no other changes (that I'm aware of), it suddenly
stopped working and now insists on loading ferret.rb from

Is there a safe way to override the load path?

(And why doesn't Rails try to load local libraries first, before
searching through server-wide paths?)
This topic is locked and can not be replied to.