Which tool(s) do you use to install/upgrade your app on production?
cera: capistrano.You should spend time understanding all of the given capistrano recipes before you should start building any of your own since many things are already done for you.I wasn't able to do this without staring at the capistrano code for a significant amount of time, but it was worth the effort IMHO.