[Backgroundrb-devel] Problem with starting backgroundrb server!

Dominik Langer dlanger at swissonline.ch
Wed Apr 23 03:12:42 EDT 2008

Hi Sup

Regarding your first error (i.e., bdrb_config.rb; which you seem to have 
solved by yourself): I had the same error first, because after checkout 
I had backgroundrb in the wrong folder.
- be sure that BackgrounDrb is installed in <your rails app 
- this means bdrb_config.rb should be at <your rails app 

Regarding your second error (i.e., unimplemented fork function):
- what kind operating system are you running? Fork is not implemented on 
Windows, but only on Unix/Linux machines.
- If you are running Windows, switch to a Linux machine (a virtual 
machine on the same PC might also work)


supriya agarwal schrieb:
> Hi!
> Im using this backgroundrb plugin! The steps i followed for using this 
> plugin are as follows: Kindly correct me where i went wrong!
> 1)rails_apps/app_name/ruby script/plugin install 
> http://svn.devjavu.com/backgroundrb/trunk
> 2) rake backgroundrb:setup
> 3) ruby script/generate worker example
> 4)opened example_worker.rb and just wrote :
>    1. class ExampleWorker < BackgrounDRb::MetaWorker
>    2.   set_worker_name :example_worker
>    3.   def create(args = nil)
>    4.     # this method is called, when worker is loaded for the first
>       time
>    5.     logger.info <http://logger.info> "here"
>    6.   end
>    7. end
> after that i tried  to run #ruby script/backgroundrb start
>  and it gave me load error :bdrb_config.rb not found! I tried copying 
> it to some directory and then ultimately it popped up another error :
> fork function is umimplemented on this machine!
> I have also installed the required gems :packets and chronic..
> Can someone help me where i went wrong! or give me a step by step 
> procedure to start backgroundrb running.
> Thanks in advance!
> Sup
> ------------------------------------------------------------------------
> _______________________________________________
> Backgroundrb-devel mailing list
> Backgroundrb-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/backgroundrb-devel

More information about the Backgroundrb-devel mailing list