capistrano/capistrano — pull request #265 by nutznboltz (2012-08-27 23:23:26+00:00)
Title: Can't use sudo as an argument in cap shell command

Leave sudo alone when it is in a position that a command argument uses.

https://github.com/capistrano/capistrano/issues/251