railsware / capistrano-multiconfig

Capistrano extension that allows to use multiple configurations
MIT License
65 stars 18 forks source link

Capistrano 3 error #8

Closed le0pard closed 11 years ago

le0pard commented 11 years ago

Trying to use capistrano 3 with caphub. Have such error:

$ cap -T

cap aborted!
undefined method `instance' for Capistrano::Configuration:Class
/Users/leo/.rvm/gems/ruby-2.0.0-p247/gems/capistrano-multiconfig-0.0.4/lib/capistrano/multiconfig/configurations.rb:1:in `<top (required)>'
/Users/leo/.rvm/gems/ruby-2.0.0-p247/gems/capistrano-multiconfig-0.0.4/lib/capistrano/multiconfig.rb:1:in `require'
/Users/leo/.rvm/gems/ruby-2.0.0-p247/gems/capistrano-multiconfig-0.0.4/lib/capistrano/multiconfig.rb:1:in `<top (required)>'
/Users/leo/programs/projects/falcon_project/falcon-deploy/Capfile:6:in `require'
/Users/leo/programs/projects/falcon_project/falcon-deploy/Capfile:6:in `<top (required)>'
/Users/leo/.rvm/gems/ruby-2.0.0-p247/gems/capistrano-3.0.0/lib/capistrano/application.rb:22:in `load_rakefile'
/Users/leo/.rvm/gems/ruby-2.0.0-p247/gems/capistrano-3.0.0/lib/capistrano/application.rb:12:in `run'
/Users/leo/.rvm/gems/ruby-2.0.0-p247/gems/capistrano-3.0.0/bin/cap:3:in `<top (required)>'
/Users/leo/.rvm/gems/ruby-2.0.0-p247/bin/cap:23:in `load'
/Users/leo/.rvm/gems/ruby-2.0.0-p247/bin/cap:23:in `<main>'
/Users/leo/.rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:in `eval'
/Users/leo/.rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:in `<main>'
(See full trace by running task with --trace)
ayanko commented 11 years ago

Released capistano-multiconfig v3.0.0 and updated caphub to v0.1.0. Both supports now capistrano v3. Try.