Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ruby 2.0.0-p481 undefined method 'split' #55

Open
martensc opened this issue Nov 3, 2014 · 0 comments
Open

Ruby 2.0.0-p481 undefined method 'split' #55

martensc opened this issue Nov 3, 2014 · 0 comments

Comments

@martensc
Copy link

martensc commented Nov 3, 2014

After updating to OS X Yosemite and rbenv ruby version 2.0.0-p481 and doing a dry run deploy I got the following

  * executing locally: "git ls-remote [email protected]:augustash/springlakeparkschools.org.git feature/mobile"
*** [deploy:update_code] rolling back
  * executing "rm -rf /home/deploy/springlakeparkschools.org/staging/releases/20141103180251; true"
/Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/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:0x007fea3b271258> (NoMethodError)

See this line in the legacy v2 capistrano

Full stack trace:

carlmartens at AA-IMAC-CARLM in ~/Sites/springlakeparkschools.org on feature/mobile•
 bundle exec cap staging deploy -n
  * 2014-11-03 12:02:51 executing `staging'
    triggering before callbacks for `staging'
    triggering after callbacks for `staging'
    triggering start callbacks for `deploy'
  * 2014-11-03 12:02:51 executing `multistage:ensure'
    triggering before callbacks for `multistage:ensure'
    triggering after callbacks for `multistage:ensure'
  * 2014-11-03 12:02:51 executing `deploy'
    triggering before callbacks for `deploy'
  * 2014-11-03 12:02:51 executing `deploy:update'
    triggering before callbacks for `deploy:update'
 ** transaction: start
  * 2014-11-03 12:02:51 executing `deploy:update_code'
    triggering before callbacks for `deploy:update_code'
  * 2014-11-03 12:02:51 executing `backup'
    triggering before callbacks for `backup'
  * 2014-11-03 12:02:51 executing `deploy:setup_backup'
    triggering before callbacks for `deploy:setup_backup'
  * executing "mkdir -p /home/deploy/springlakeparkschools.org/staging/backups /home/deploy/springlakeparkschools.org/staging/backups/tmp && chmod 755 /home/deploy/springlakeparkschools.org/staging/backups"
    triggering after callbacks for `deploy:setup_backup'
  * 2014-11-03 12:02:51 executing `backup:db'
    triggering before callbacks for `backup:db'
  * executing "ls -x /home/deploy/springlakeparkschools.org/staging/releases"
*** no previous release to backup; backup of database skipped
    triggering after callbacks for `backup:db'
  * 2014-11-03 12:02:51 executing `backup:web'
    triggering before callbacks for `backup:web'
*** no previous release to backup; backup of files skipped
    triggering after callbacks for `backup:web'
  * 2014-11-03 12:02:51 executing `backup:cleanup'
    triggering before callbacks for `backup:cleanup'
  * executing "ls -x /home/deploy/springlakeparkschools.org/staging/backups"
*** no old backups to clean up
    triggering after callbacks for `backup:cleanup'
    triggering after callbacks for `backup'
    updating the cached checkout on all servers
  * executing locally: "git ls-remote [email protected]:augustash/springlakeparkschools.org.git feature/mobile"
*** [deploy:update_code] rolling back
  * executing "rm -rf /home/deploy/springlakeparkschools.org/staging/releases/20141103180251; true"
/Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/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:0x007fea3b271258> (NoMethodError)
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/recipes/deploy/scm/base.rb:35:in `block in method_missing'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/recipes/deploy/scm/base.rb:63:in `local'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/recipes/deploy/scm/base.rb:35:in `method_missing'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/railsless-deploy-1.1.3/lib/railsless-deploy.rb:38:in `block (2 levels) in <top (required)>'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/configuration/variables.rb:87:in `call'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/configuration/variables.rb:87:in `block in fetch'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/configuration/variables.rb:110:in `block in protect'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/configuration/variables.rb:110:in `synchronize'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/configuration/variables.rb:110:in `protect'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/configuration/variables.rb:78:in `fetch'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/configuration/variables.rb:95:in `[]'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/recipes/deploy/strategy/base.rb:86:in `revision'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/recipes/deploy/strategy/remote_cache.rb:35:in `update_repository_cache'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/recipes/deploy/strategy/remote_cache.rb:15:in `deploy!'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/railsless-deploy-1.1.3/lib/railsless-deploy.rb:245:in `block (3 levels) in <top (required)>'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/configuration/execution.rb:138:in `instance_eval'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/configuration/execution.rb:138:in `invoke_task_directly'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/configuration/callbacks.rb:25:in `invoke_task_directly_with_callbacks'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/configuration/execution.rb:89:in `execute_task'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/configuration/namespaces.rb:191:in `method_missing'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/configuration/namespaces.rb:110:in `block in define_task'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/railsless-deploy-1.1.3/lib/railsless-deploy.rb:226:in `block (4 levels) in <top (required)>'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/configuration/execution.rb:56:in `transaction'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/configuration/namespaces.rb:191:in `method_missing'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/railsless-deploy-1.1.3/lib/railsless-deploy.rb:225:in `block (3 levels) in <top (required)>'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/configuration/execution.rb:138:in `instance_eval'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/configuration/execution.rb:138:in `invoke_task_directly'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/configuration/callbacks.rb:25:in `invoke_task_directly_with_callbacks'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/configuration/execution.rb:89:in `execute_task'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/configuration/namespaces.rb:191:in `method_missing'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/configuration/namespaces.rb:110:in `block in define_task'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/railsless-deploy-1.1.3/lib/railsless-deploy.rb:195:in `block (3 levels) in <top (required)>'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/configuration/execution.rb:138:in `instance_eval'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/configuration/execution.rb:138:in `invoke_task_directly'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/configuration/callbacks.rb:25:in `invoke_task_directly_with_callbacks'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/configuration/execution.rb:89:in `execute_task'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/configuration/execution.rb:101:in `find_and_execute_task'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/cli/execute.rb:46:in `block in execute_requested_actions'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/cli/execute.rb:45:in `each'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/cli/execute.rb:45:in `execute_requested_actions'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/cli/help.rb:19:in `execute_requested_actions_with_help'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/cli/execute.rb:34:in `execute!'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/lib/capistrano/cli/execute.rb:14:in `execute'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/capistrano-2.15.5/bin/cap:4:in `<top (required)>'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/bin/cap:23:in `load'
    from /Users/carlmartens/.rbenv/versions/2.0.0-p481/bin/cap:23:in `<main>'
``
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant