How I can make my rails application auto-start it's corresponding backgroundrb process? Is it as simple as finding a way to execute the unix shell command from rails? Right now I need to manually run "rake backgroundrb:start". My only other thought is a cron task that calls a script that checks running processes and runs "rake backgroundrb:start" if needed, but that doesn't seem very elegant. thanks, Jacob
on 2007-03-13 19:22
on 2008-02-26 11:44
I start backgroundRb with my app server. Eg. for development I use script/server, so everything you need is add a line of code to server script.