Arch = i86_64
OS = CentOS-6.4 (RHEL6)
Ruby = v.2.0.0.p353
Rails = 4.0.1
Capistrano 2.15.5
We are trying to deploy a complex recipe which was last used this past January and worked then without error. At that time we were using Ruby-1.9.3 and RoR-3.2.8. We have updated our application to Ruby-2. and RoR-4.0.1 and have installed Ruby-2.0.0 on the deployment target. When we do a --dry-run of the deployment we are getting this error:
from /usr/lib64/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/recipes/deploy/scm/git.rb:230:in `query_revision': undefined method `split' for #<Array:0x000000013cf068> (NoMethodError)
. . .See
https://gist.github.com/anonymous/7712107It appears to me that this may be related to the empty array at variables.rb:95:
. . .
from /usr/lib64/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/configuration/variables.rb:110:in `synchronize'
from /usr/lib64/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/configuration/variables.rb:110:in `protect'
from /usr/lib64/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/configuration/variables.rb:78:in `fetch'
from /usr/lib64/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/configuration/variables.rb:95:in `[]'
from /usr/lib64/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/recipes/deploy/strategy/base.rb:86:in `revision'Does anyone have any suggestions as to where I should look? Does this look like a configuration error in deploy.rb?
This recipe is very, very customized and quite large. Undertaking a complete rewrite to get it to work with Capistrano 3 is not in the budget.