this is a great tip. i normally just use Capistrano do the deployments for me, which does something similar.

I use capistrano because it's easier for me, and I needed an excuse to learn ruby :).