bmabey/database_cleaner — Issue #98: Rails 3.2.1: superclass mismatch for class Mysql2Adapter
Author: gernotkogler
Created: 2012-01-29 11:07:20+00:00
State: open

Seems still to be a problem. Here's the stack trace:

/Users/gernot/.rvm/gems/ruby-1.9.3-p0@rem2/gems/activerecord-3.2.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `': superclass mismatch for class Mysql2Adapter (TypeError)
from /Users/gernot/.rvm/gems/ruby-1.9.3-p0@rem2/gems/activerecord-3.2.1/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `'
from /Users/gernot/.rvm/gems/ruby-1.9.3-p0@rem2/gems/activerecord-3.2.1/lib/active_record/connection_adapters/mysql2_adapter.rb:6:in `'
from /Users/gernot/.rvm/gems/ruby-1.9.3-p0@rem2/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `require'
from /Users/gernot/.rvm/gems/ruby-1.9.3-p0@rem2/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `block in require'
from /Users/gernot/.rvm/gems/ruby-1.9.3-p0@rem2/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:236:in `load_dependency'
from /Users/gernot/.rvm/gems/ruby-1.9.3-p0@rem2/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `require'
from /Users/gernot/.rvm/gems/ruby-1.9.3-p0@rem2/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract/connection_specification.rb:48:in `resolve_hash_connection'
from /Users/gernot/.rvm/gems/ruby-1.9.3-p0@rem2/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract/connection_specification.rb:39:in `resolve_string_connection'
from /Users/gernot/.rvm/gems/ruby-1.9.3-p0@rem2/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract/connection_specification.rb:23:in `spec'
from /Users/gernot/.rvm/gems/ruby-1.9.3-p0@rem2/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract/connection_specification.rb:127:in `establish_connection'
from /Users/gernot/.rvm/gems/ruby-1.9.3-p0@rem2/gems/activerecord-3.2.1/lib/active_record/railtie.rb:76:in `block (2 levels) in '
from /Users/gernot/.rvm/gems/ruby-1.9.3-p0@rem2/gems/activesupport-3.2.1/lib/active_support/lazy_load_hooks.rb:36:in `instance_eval'
from /Users/gernot/.rvm/gems/ruby-1.9.3-p0@rem2/gems/activesupport-3.2.1/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook'
from /Users/gernot/.rvm/gems/ruby-1.9.3-p0@rem2/gems/activesupport-3.2.1/lib/active_support/lazy_load_hooks.rb:26:in `on_load'
from /Users/gernot/.rvm/gems/ruby-1.9.3-p0@rem2/gems/activerecord-3.2.1/lib/active_record/railtie.rb:74:in `block in '
from /Users/gernot/.rvm/gems/ruby-1.9.3-p0@rem2/gems/railties-3.2.1/lib/rails/initializable.rb:30:in `instance_exec'
from /Users/gernot/.rvm/gems/ruby-1.9.3-p0@rem2/gems/railties-3.2.1/lib/rails/initializable.rb:30:in `run'
from /Users/gernot/.rvm/gems/ruby-1.9.3-p0@rem2/gems/railties-3.2.1/lib/rails/initializable.rb:55:in `block in run_initializers'
from /Users/gernot/.rvm/gems/ruby-1.9.3-p0@rem2/gems/railties-3.2.1/lib/rails/initializable.rb:54:in `each'
from /Users/gernot/.rvm/gems/ruby-1.9.3-p0@rem2/gems/railties-3.2.1/lib/rails/initializable.rb:54:in `run_initializers'
from /Users/gernot/.rvm/gems/ruby-1.9.3-p0@rem2/gems/railties-3.2.1/lib/rails/application.rb:136:in `initialize!'
from /Users/gernot/.rvm/gems/ruby-1.9.3-p0@rem2/gems/railties-3.2.1/lib/rails/railtie/configurable.rb:30:in `method_missing'
from /Users/gernot/entwicklung/rem2/config/environment.rb:5:in `'
from /Users/gernot/entwicklung/rem2/spec/spec_helper.rb:41:in `require'
from /Users/gernot/entwicklung/rem2/spec/spec_helper.rb:41:in `block in '
from /Users/gernot/.rvm/gems/ruby-1.9.3-p0@rem2/gems/spork-0.9.0/lib/spork.rb:24:in `prefork'
from /Users/gernot/entwicklung/rem2/spec/spec_helper.rb:5:in `'
from /Users/gernot/entwicklung/rem2/spec/builders/buchhaltung_builder_spec.rb:2:in `require'
from /Users/gernot/entwicklung/rem2/spec/builders/buchhaltung_builder_spec.rb:2:in `'
from /Users/gernot/.rvm/gems/ruby-1.9.3-p0@rem2/gems/rspec-core-2.8.0/lib/rspec/core/configuration.rb:698:in `load'
from /Users/gernot/.rvm/gems/ruby-1.9.3-p0@rem2/gems/rspec-core-2.8.0/lib/rspec/core/configuration.rb:698:in `block in load_spec_files'
from /Users/gernot/.rvm/gems/ruby-1.9.3-p0@rem2/gems/rspec-core-2.8.0/lib/rspec/core/configuration.rb:698:in `map'
from /Users/gernot/.rvm/gems/ruby-1.9.3-p0@rem2/gems/rspec-core-2.8.0/lib/rspec/core/configuration.rb:698:in `load_spec_files'
from /Users/gernot/.rvm/gems/ruby-1.9.3-p0@rem2/gems/rspec-core-2.8.0/lib/rspec/core/command_line.rb:22:in `run'
from /Users/gernot/.rvm/gems/ruby-1.9.3-p0@rem2/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:80:in `run_in_process'
from /Users/gernot/.rvm/gems/ruby-1.9.3-p0@rem2/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:66:in `rescue in run'
from /Users/gernot/.rvm/gems/ruby-1.9.3-p0@rem2/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:62:in `run'
from /Users/gernot/.rvm/gems/ruby-1.9.3-p0@rem2/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:10:in `block in autorun'