Fake out execution in Ruby and instead of running them log them. Allows inspection of the commands that where executed.
Joseph Wilk
gem "fake_execution", "~> 0.0.3"