sinisterchipmunk/eve — Issue #4: undefined method class_inheritable_accessor
Author: spilliams
Created: 2012-02-10 06:45:52+00:00
State: open

Hey,
I'm trying to include the eve gem (via git source, since `gem 'eve'` had an [issue](https://github.com/sinisterchipmunk/eve/issues/1)) in a rails 3.2.1 app (ruby 1.9.2-p290), and I get the following stack trace when I run `rails server`:

DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from extend at /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/bundler/gems/eve-882115ea507c/lib/eve/trust/igb_interface.rb:4)
=> Booting WEBrick
=> Rails 3.2.1 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
/Users/sewillia/.rvm/gems/ruby-1.9.2-p290/bundler/gems/eve-882115ea507c/lib/eve/trust/controller_helpers.rb:9:in `block in included': undefined method `class_inheritable_accessor' for ActionController::Base:Class (NoMethodError)
from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/bundler/gems/eve-882115ea507c/lib/eve/trust/controller_helpers.rb:5:in `instance_eval'
from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/bundler/gems/eve-882115ea507c/lib/eve/trust/controller_helpers.rb:5:in `included'
from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/bundler/gems/eve-882115ea507c/lib/eve/dependencies.rb:33:in `include'
from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/bundler/gems/eve-882115ea507c/lib/eve/dependencies.rb:33:in `block in '
from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.2.1/lib/active_support/lazy_load_hooks.rb:34:in `call'
from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.2.1/lib/active_support/lazy_load_hooks.rb:34:in `execute_hook'
from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.2.1/lib/active_support/lazy_load_hooks.rb:43:in `block in run_load_hooks'
from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.2.1/lib/active_support/lazy_load_hooks.rb:42:in `each'
from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.2.1/lib/active_support/lazy_load_hooks.rb:42:in `run_load_hooks'
from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.1/lib/rails/application/finisher.rb:59:in `block in '
from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.1/lib/rails/initializable.rb:30:in `instance_exec'
from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.1/lib/rails/initializable.rb:30:in `run'
from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.1/lib/rails/initializable.rb:55:in `block in run_initializers'
from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.1/lib/rails/initializable.rb:54:in `each'
from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.1/lib/rails/initializable.rb:54:in `run_initializers'
from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.1/lib/rails/application.rb:136:in `initialize!'
from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.1/lib/rails/railtie/configurable.rb:30:in `method_missing'
from /Users/sewillia/Sites/Williams, Spencer/eve/config/environment.rb:5:in `'
from /Users/sewillia/Sites/Williams, Spencer/eve/config.ru:4:in `require'
from /Users/sewillia/Sites/Williams, Spencer/eve/config.ru:4:in `block in

'
from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/builder.rb:51:in `instance_eval'
from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/builder.rb:51:in `initialize'
from /Users/sewillia/Sites/Williams, Spencer/eve/config.ru:1:in `new'
from /Users/sewillia/Sites/Williams, Spencer/eve/config.ru:1:in `

'
from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/builder.rb:40:in `eval'
from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/builder.rb:40:in `parse_file'
from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/server.rb:200:in `app'
from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.1/lib/rails/commands/server.rb:46:in `app'
from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/server.rb:301:in `wrapped_app'
from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/server.rb:252:in `start'
from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.1/lib/rails/commands/server.rb:70:in `start'
from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.1/lib/rails/commands.rb:55:in `block in '
from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.1/lib/rails/commands.rb:50:in `tap'
from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.1/lib/rails/commands.rb:50:in `'
from script/rails:6:in `require'
from script/rails:6:in `

'

I am interested in diving into this a little bit, but since it's late I only did a quick Google, and I think [this](http://guides.rubyonrails.org/active_support_core_extensions.html#class-inheritable-attributes) is the problem. If I downgrade to rails 3.1.2 it works fine (or at least the server finishes booting).

btw [my source](http://github.com/spilliams/eve-csv/branches/rails)

Cheers,
Spencer