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

compatibility with capistrano 3.x #10

Open
paulwalker opened this issue Jul 3, 2013 · 3 comments
Open

compatibility with capistrano 3.x #10

paulwalker opened this issue Jul 3, 2013 · 3 comments

Comments

@paulwalker
Copy link

cap aborted!
undefined method `instance' for Capistrano::Configuration:Class
/Users/paul/.rvm/gems/ruby-1.9.3-p392@yapert/gems/capistrano-platform-resources-0.1.3/lib/capistrano/configuration/resources/platform_resources.rb:215:in `<top (required)>'
/Users/paul/.rvm/gems/ruby-1.9.3-p392@yapert/gems/capistrano-rbenv-1.0.5/lib/capistrano-rbenv.rb:3:in `require'
/Users/paul/.rvm/gems/ruby-1.9.3-p392@yapert/gems/capistrano-rbenv-1.0.5/lib/capistrano-rbenv.rb:3:in `<top (required)>'
/Users/paul/Projects/yapert/yapert-api/Capfile:17:in `require'
/Users/paul/Projects/yapert/yapert-api/Capfile:17:in `<top (required)>'
/Users/paul/.rvm/gems/ruby-1.9.3-p392@yapert/gems/capistrano-3.0.0.pre6/lib/capistrano/application.rb:22:in `load_rakefile'
/Users/paul/.rvm/gems/ruby-1.9.3-p392@yapert/gems/capistrano-3.0.0.pre6/lib/capistrano/application.rb:12:in `run'
/Users/paul/.rvm/gems/ruby-1.9.3-p392@yapert/gems/capistrano-3.0.0.pre6/bin/cap:3:in `<top (required)>'
/Users/paul/.rvm/gems/ruby-1.9.3-p392@yapert/bin/cap:19:in `load'
/Users/paul/.rvm/gems/ruby-1.9.3-p392@yapert/bin/cap:19:in `<main>'
/Users/paul/.rvm/gems/ruby-1.9.3-p392@yapert/bin/ruby_noexec_wrapper:14:in `eval'
/Users/paul/.rvm/gems/ruby-1.9.3-p392@yapert/bin/ruby_noexec_wrapper:14:in `<main>'
(See full trace by running task with --trace)
@yyuu
Copy link
Owner

yyuu commented Jul 3, 2013

capistrano-rbenv does not support Capistrano v3 as of writing this. (See gemspec) Because Capistrano v3 is based on completely different source tree from v2, it is quite difficult to support both versions of Capistrano.

Patches are welcome to support v3.

@fmalamitsas
Copy link

here is the idiomatic rbenv support for Capistrano 3.x : https://github.com/capistrano/rbenv

@rmoriz
Copy link

rmoriz commented Oct 29, 2013

Looks like a namespace conflict…

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

4 participants