"undefined method `compact'" Error #86

Closed
yujingzhou opened this Issue Aug 21, 2011 · 1 comment

3 participants

@yujingzhou

#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(" && ")
@msticht

This change worked for me.

@leehambley leehambley closed this Sep 24, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment