Displaying 1 result from an estimated 1 matches for "d96440a6".
Did you mean:
496410a6
2008 Jun 06
1
Unexpected NameError when invoking task on worker
...me :basic_worker
def create(args = nil)
# this method is called, when worker is loaded for the first time
end
def keep_count
count = 1
end
end
Then I am starting BackgrounDRb and using the console to invoke the
worker, but run into this problem, and not sure what is going on:
[d96440a6 at d96440a6 ~/testapp]$ script/backgroundrb start
[d96440a6 at d96440a6 ~/testapp]$ ruby script/console
Loading development environment (Rails 2.0.2)
>> MiddleMan
=> #<BackgrounDRb::WorkerProxy:0x8675b6c @mutex=#<Mutex:0x8675b44>>
>> worker = MiddleMan.worker(:basic_worke...