How to run a background task in rails

Use the backgroundrb system. It scales better in the long run as you decide to do more stuff in the background and require better control.

http://backgroundrb.rubyforge.org/