This repository was archived by the owner on May 14, 2025. It is now read-only.
Description I run through an issue after requiring require 'lacquer/capistrano' .
Here's the trace to the issue
cap staging deploy --trace
cap aborted!
NoMethodError: undefined method `instance' for Capistrano::Configuration:Class
/home/pamio/.rvm/gems/ruby-2.1.1/gems/lacquer-0.5.6/lib/lacquer/capistrano.rb:3:in `<top (required)>'
/home/pamio/dev/rails_apps/remote/khojguru/Capfile:15:in `require'
/home/pamio/dev/rails_apps/remote/khojguru/Capfile:15:in `<top (required)>'
/home/pamio/.rvm/gems/ruby-2.1.1/gems/rake-10.4.2/lib/rake/rake_module.rb:28:in `load'
/home/pamio/.rvm/gems/ruby-2.1.1/gems/rake-10.4.2/lib/rake/rake_module.rb:28:in `load_rakefile'
/home/pamio/.rvm/gems/ruby-2.1.1/gems/rake-10.4.2/lib/rake/application.rb:689:in `raw_load_rakefile'
/home/pamio/.rvm/gems/ruby-2.1.1/gems/rake-10.4.2/lib/rake/application.rb:94:in `block in load_rakefile'
/home/pamio/.rvm/gems/ruby-2.1.1/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
/home/pamio/.rvm/gems/ruby-2.1.1/gems/rake-10.4.2/lib/rake/application.rb:93:in `load_rakefile'
/home/pamio/.rvm/gems/ruby-2.1.1/gems/rake-10.4.2/lib/rake/application.rb:77:in `block in run'
/home/pamio/.rvm/gems/ruby-2.1.1/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
/home/pamio/.rvm/gems/ruby-2.1.1/gems/rake-10.4.2/lib/rake/application.rb:75:in `run'
/home/pamio/.rvm/gems/ruby-2.1.1/gems/capistrano-3.3.5/lib/capistrano/application.rb:15:in `run'
/home/pamio/.rvm/gems/ruby-2.1.1/gems/capistrano-3.3.5/bin/cap:3:in `<top (required)>'
/home/pamio/.rvm/gems/ruby-2.1.1/bin/cap:23:in `load'
/home/pamio/.rvm/gems/ruby-2.1.1/bin/cap:23:in `<main>'
/home/pamio/.rvm/gems/ruby-2.1.1/bin/ruby_executable_hooks:15:in `eval'
/home/pamio/.rvm/gems/ruby-2.1.1/bin/ruby_executable_hooks:15:in `<main>'
Im on ruby 2.1.1 & rails 4.2.1. Any pointers on this ?
Thanks