[Backgroundrb-devel] rails environment loaded but one plugin is undefined (using backgroundrb 0.2.0)
michael at mindtheshark.com
Mon Nov 27 09:53:27 EST 2006
I'm using BackgroundRb 0.2.0 (standalone) and in the do_work method of
my worker, I'm working with objects from my Rails application. So in my
config/backgroundrb.yml file, I added this line:
I think my worker isn't doing what I want him to do. So I opened the
console and read these error lines:
# ruby script/backgroundrb console
irb: warn: can't alias jobs from irb_jobs.
NameError: undefined local variable or method `acts_as_taggable' for
As you can see, I have "Thumbnail" and "Media" classes in my Rails
application. They are recognized, so Rails application seems to be
loaded. But my Media model uses the acts_as_taggable plugin... and so
the above error shown.
Do you know what I could do to load the plugin?
Have a nice week,
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 315 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20061127/60b87ab2/attachment.vcf
More information about the Backgroundrb-devel