five18pm/spree-ccavenue — Issue #2: installation error - undefined method `register' for #<Class:0x007fde308be690> (NoMethodError)
Author: Ranjithkumar
Created: 2011-12-21 10:36:32+00:00
State: open

Hi Chandramohan Rangaswamy

when i run, rails g spree_ccavenue:install i get the following error

undefined method `register' for # (NoMethodError)
from /Users/ranjith/.rvm/gems/ruby-1.9.2-p290/bundler/gems/spree-ccavenue-ce1a1b9e10f3/lib/spree_ccavenue.rb:13:in `activate'
from /Users/ranjith/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:467:in `_run_prepare_callbacks'
from /Users/ranjith/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
from /Users/ranjith/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/reloader.rb:46:in `prepare!'
from /Users/ranjith/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/application/finisher.rb:41:in `block in '
from /Users/ranjith/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/initializable.rb:30:in `instance_exec'
from /Users/ranjith/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/initializable.rb:30:in `run'
from /Users/ranjith/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/initializable.rb:55:in `block in run_initializers'
from /Users/ranjith/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/initializable.rb:54:in `each'
from /Users/ranjith/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/initializable.rb:54:in `run_initializers'
from /Users/ranjith/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/application.rb:96:in `initialize!'
from /Users/ranjith/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/railtie/configurable.rb:30:in `method_missing'
from /Users/ranjith/Sites/Latest/rails3/RND/eSupply/config/environment.rb:5:in `'

Any idea?