[Backgroundrb-devel] example standalone error ... but if i ...

David Gurba david.gurba at gmail.com
Fri Mar 2 02:08:46 EST 2007

If I add .instance in front of new_worker I get the following error ... but
for some reason i cant call new_worker directly...?

ruby sample_app.rb
my sample app :)
./backgroundrb/middleman.rb:440:in `ex': undefined method `synchronize' for
nil:NilClass (NoMethodError)
        from ./backgroundrb/middleman.rb:401:in `[]'
        from ./backgroundrb/middleman.rb:461:in `gen_key'
        from ./backgroundrb/middleman.rb:173:in `new_worker'
        from ./backgroundrb/middleman.rb:173:in `new_worker'
        from sample_app.rb:9

key = MiddleMan.instance.new_worker(:class => :example_worker)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20070301/e16d927f/attachment.html 

More information about the Backgroundrb-devel mailing list