gregbell/active_admin — Issue #986: Error while running generate active_admin:install
Author: vinibaggio
Created: 2012-02-07 11:56:42+00:00
State: open

Hello all,

I am starting an application from scratch, on Rails 3.2.1 and Ruby 1.9.3 with Falcon patches. I followed the README installation instructions, but when I try to install active_admin files, I get the following error:

/app/vendor/ruby/1.9.1/gems/activeadmin-0.4.0/lib/active_admin/namespace.rb:191:in `eval': undefined method `class_inheritable_accessor' for InheritedResources::Base:Class (NoMethodError)
from /app/vendor/ruby/1.9.1/gems/inherited_resources-1.0.2/lib/inherited_resources/base.rb:36:in `block (2 levels) in inherit_resources'
from /app/vendor/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/core_ext/object/with_options.rb:41:in `with_options'
from /app/vendor/ruby/1.9.1/gems/inherited_resources-1.0.2/lib/inherited_resources/base.rb:35:in `block in inherit_resources'
from /app/vendor/ruby/1.9.1/gems/inherited_resources-1.0.2/lib/inherited_resources/base.rb:20:in `class_eval'
from /app/vendor/ruby/1.9.1/gems/inherited_resources-1.0.2/lib/inherited_resources/base.rb:20:in `inherit_resources'
from /app/vendor/ruby/1.9.1/gems/inherited_resources-1.0.2/lib/inherited_resources/base.rb:45:in `'
from /app/vendor/ruby/1.9.1/gems/inherited_resources-1.0.2/lib/inherited_resources/base.rb:14:in `'
from /app/vendor/ruby/1.9.1/gems/inherited_resources-1.0.2/lib/inherited_resources/base.rb:4:in `'
from /app/vendor/ruby/1.9.1/gems/activeadmin-0.4.0/lib/active_admin/base_controller/menu.rb:2:in `'
from /app/vendor/ruby/1.9.1/gems/activeadmin-0.4.0/lib/active_admin/base_controller/menu.rb:1:in `'
(...)

Any clues? I've tried to find this error on issues, but couldn't.

Thank you!