Please sign in to comment.
bad symbol/string comparison on Git branch name
Fixed a string comparison bug which happens when: set :branch, 'production' is used under Ruby 1.9.1p243. For some reason, the "revision" variable comes as a symbol and therefore the string comparison fails and later causes this error: lib/capistrano/recipes/deploy/scm/git.rb:232:in `query_revision': Unable to resolve revision for 'production' on repository ''. (RuntimeError)
- Loading branch information...
Showing with 1 addition and 1 deletion.