# Backgroundrb not loading other plugins

**URL:** <https://www.ruby-forum.com/t/backgroundrb-not-loading-other-plugins/109057>\
**Category:** Rails\
**Created:** [July 11, 2007, 2:56am UTC](https://www.ruby-forum.com/t/backgroundrb-not-loading-other-plugins/109057 "2007-07-11T02:56:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dang](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/ba9def/32.png) [@dang](https://www.ruby-forum.com/u/dang)\
**Post date:** [July 11, 2007, 2:56am UTC](https://www.ruby-forum.com/t/backgroundrb-not-loading-other-plugins/109057/1 "2007-07-11T02:56:14Z")

</div>

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]  
end

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  
there:

./script/backgroundrb/…/…/config/…/vendor/rails/activerecord/lib/active\_record/base.rb:1248:in  
`method_missing': undefined method`acts\_as\_ferret’ for Book:Class  
(NoMethodError)  
from ./script/backgroundrb/…/…/config/…/app/models/book.rb:2  
from c:/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
`require’  
etc…

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

thanks,  
Dan
