Backgroundrb not loading other plugins


Hi all,

I’m using a few different plugins on a project, but I’m having trouble
getting the plugins to load when running from backgroundrb (I’m using
the old win32 happy version).

Specifically, acts_as_ferret is not loading:

here’s the relevant part of the model:

class Book < ActiveRecord::Base
acts_as_ferret :fields => [:title, :description, :subject, :author]

I have to customize acts_as_ferret slightly so it’s installed as a
plugin rather than a gem. It’s loading fine via mongrel and the console,
but when backgroundrb loads the rails environment, it seems like it’s

method_missing': undefined methodacts_as_ferret’ for Book:Class
from ./script/backgroundrb/…/…/config/…/app/models/book.rb:2
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in

Can anyone tell me how I can force the plugin to load?