Forum: Ruby on Rails backgroundrb not loading other plugins

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.
Daniel G. (Guest)
on 2007-07-11 04:56
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 method `acts_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?

This topic is locked and can not be replied to.