wvanbergen/request-log-analyzer — Issue #103: undefined method 'class_inheritable_accessor'
Author: simonbaumer
Created: 2011-10-19 02:03:05+00:00
State: open

I created a new app that contained version 1.11.1 in the Gemfile. Bundle installed, fired up the server and tried running:
$ request-log-analyzer -d request.db log/production.log

And it threw the following error:
/Users/usernamehere/.rvm/gems/ruby-1.8.7-p352/gems/activerecord-3.1.0/lib/active_record/base.rb:1082:in `method_missing': undefined method `class_inheritable_accessor' for RequestLogAnalyzer:atabase::Base(abstract):Class (NoMethodError)

I tried with both Rails 3.1.0 and Rails 3.0.10, both gave the error. When I run just '$ request-log-analyzer log/production.log' it runs successfully, but couldn't save it to sqlite DB. I also tried the --database options flag instead of -d, same error.