I submitted a patch to Capistrano to add a “—dry-run” option (or -n for
short). This flag causes capistrano to print out all of commands it will
run without actually running them. It is an easy way to see what the cap
task will do to your servers before you run it.
My patch was accepted and released as part of Capistrano 2.5.0. You can
read more about the new features at:
and see the details of my commit at github: