[Backgroundrb-devel] Problems when starting worker in 1.03

hemant kumar gethemant at gmail.com
Thu Mar 6 02:33:58 EST 2008


On Wed, 2008-03-05 at 14:12 +0000, Anthony Underwood wrote:
> Here's part of my worker class. When starting this worker without any
> args the server complains that it is trying to evaluate nil.[] in line
> 6 despite the fact that a default is defined in the create method.
> This worked fine before 1.03
> 
> 
> 
> 
> class LongJobWorker < BackgrounDRb::MetaWorker
>   set_worker_name :long_job_worker
>   set_no_auto_load(true)
>   def create(args={})
>     # this method is called, when worker is loaded for the first time
>     @job = args[:job]
>     register_status("started")
>   end
>  ........
> end


Many, thanks. If possible, Also file a bug report so that it doesn't get
lost in mailing list junk.




More information about the Backgroundrb-devel mailing list