mislav/git-deploy — pull request #15 by yannlugrin (2011-12-10 17:20:11+00:00)
Title: fix setup cmd when sudo is disabled

When run setup task, if sudo is disabled, cmd is empty because block return nil. Setup task result to following error :

lib/git_deploy/ssh_methods.rb:17:in `run': undefined method `gsub' for nil:NilClass (NoMethodError)

this patch fix this.