#159 line in file lib/capistrano/recipes/deploy/scm/git.rb
the following code will generate a error that is "undefined method `compact'"
execute.join(" && ").compact
Please look at detail report http://pastebin.com/bRxmBJjh
I guess the code should be like this
execute.compact.join(" && ")
This change worked for me.
Fix GH #86 (Undefined method compact for <#String>