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

You should move to a newer version of Capistrano #31

Open
fuzzygroup opened this issue Jan 31, 2017 · 0 comments
Open

You should move to a newer version of Capistrano #31

fuzzygroup opened this issue Jan 31, 2017 · 0 comments

Comments

@fuzzygroup
Copy link

Hi,

The version of capistrano specified is near 3. When you build a new app, you get this error on deploy:

bundle exec cap production deploy
/Users/sjohnson/.rvm/gems/ruby-2.3.1@appdata_home_page/gems/capistrano-3.0.1/lib/capistrano/i18n.rb:4: warning: key :starting is duplicated and overwritten on line 6
cap aborted!
NoMethodError: undefined method on' for main:Object /Users/sjohnson/.rvm/gems/ruby-2.3.1@appdata_home_page/gems/capistrano-3.0.1/lib/capistrano/tasks/git.rake:12:in block (2 levels) in <top (required)>'
/Users/sjohnson/.rvm/gems/ruby-2.3.1@appdata_home_page/gems/capistrano-3.0.1/lib/capistrano/dsl.rb:14:in invoke' /Users/sjohnson/.rvm/gems/ruby-2.3.1@appdata_home_page/gems/capistrano-3.0.1/lib/capistrano/tasks/deploy.rake:35:in block (2 levels) in <top (required)>'
/Users/sjohnson/.rvm/gems/ruby-2.3.1@appdata_home_page/gems/capistrano-3.0.1/lib/capistrano/dsl.rb:14:in invoke' /Users/sjohnson/.rvm/gems/ruby-2.3.1@appdata_home_page/gems/capistrano-3.0.1/lib/capistrano/tasks/deploy.rake:4:in block (2 levels) in <top (required)>'
/Users/sjohnson/.rvm/gems/ruby-2.3.1@appdata_home_page/gems/capistrano-3.0.1/lib/capistrano/dsl.rb:14:in invoke' /Users/sjohnson/.rvm/gems/ruby-2.3.1@appdata_home_page/gems/capistrano-3.0.1/lib/capistrano/tasks/framework.rake:64:in block (2 levels) in <top (required)>'
/Users/sjohnson/.rvm/gems/ruby-2.3.1@appdata_home_page/gems/capistrano-3.0.1/lib/capistrano/tasks/framework.rake:63:in each' /Users/sjohnson/.rvm/gems/ruby-2.3.1@appdata_home_page/gems/capistrano-3.0.1/lib/capistrano/tasks/framework.rake:63:in block in <top (required)>'
/Users/sjohnson/.rvm/gems/ruby-2.3.1@appdata_home_page/gems/capistrano-3.0.1/lib/capistrano/application.rb:12:in run' /Users/sjohnson/.rvm/gems/ruby-2.3.1@appdata_home_page/gems/capistrano-3.0.1/bin/cap:3:in <top (required)>'
/Users/sjohnson/.rvm/gems/ruby-2.3.1@appdata_home_page/bin/cap:22:in load' /Users/sjohnson/.rvm/gems/ruby-2.3.1@appdata_home_page/bin/cap:22:in

'
/Users/sjohnson/.rvm/gems/ruby-2.3.1@appdata_home_page/bin/ruby_executable_hooks:15:in eval' /Users/sjohnson/.rvm/gems/ruby-2.3.1@appdata_home_page/bin/ruby_executable_hooks:15:in '
Tasks: TOP => git:check => git:wrapper
(See full trace by running task with --trace)

Doing a bundle update capistrano works but you have to update the Gemfile. Perhaps a more modern version of capistrano should be the default.

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