How to start BackgrounDRB when rails app starts?

Apparently you need to start backgroundrb before the server and the next version will come with wrapper scripts that start backgroundrb and the server for you.

when you start backgroundrb doesnt matter at all. you could even write an init script to start bgdrb at system startup!

Or if you really need that. Then you can place the command “rake backgroundrb:start” in your mongrel.conf file and ask mongrel to start it. Though this will help you, only when you are using mongrel.

You need to make sure the drb server is started before rails starts or you won’t be able to use it. Easiest way is to make a wrapper script that starts the drb server and then starts rails. The new version coming out this weekend will have scripts for this included.

-Ezra