[Backgroundrb-devel] Problems running backgroundrb

John Wells lists at sourceillustrated.com
Mon Feb 11 01:11:01 EST 2008

Hi guys,

New to backgroundrb, and I like it very much conceptually, but I'm
struggling to get it to run successfully. I started with trunk, but
was getting a very strange gem require error when starting a worker
(though it wasn't telling me which gem was missing)....see here:

So I rolled back to the release 1.0.1 tag but had different problems
there. I have my own "acts_as"  plugin that's required in my
environment.rb....it's stored in lib/formatters.rb. However,
backgroundrb complains about it not being there in startup:

$ script/backgroundrb start

`method_missing': undefined method `acts_as_phone_formatter' for
Event:Class (NoMethodError)
        from /home/jb/workspace/ruby/eqnow_dev/app/models/event.rb:45
        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
        from /home/jb/workspace/ruby/eqnow_dev/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:495:in
        from /home/jb/workspace/ruby/eqnow_dev/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:342:in

It's definitely there in my config/environment.rb:

require 'formatters'

My backgroundrb.yml looks like:

  :ip: localhost
  :port: 11006
  :environment: development

I'm completely at a loss on how to proceed. I'd really like to use
it... (I *need* it) but not sure how to get it running properly.

Can anyone help?

Thanks for any assistance you might provide!


More information about the Backgroundrb-devel mailing list