ryanb/populator — Issue #21: "superclass mismatch for class SQLiteAdapter" error
Author: navjeetc
Created: 2011-10-24 17:01:17+00:00
State: open

i am getting "superclass mismatch for class SQLiteAdapter" when using this gem with jruby 1.6.3

Stack trace:

superclass mismatch for class SQLiteAdapter
/home/ec2-user/.rvm/gems/jruby-1.6.3@dm_app/gems/populator-1.0.0/lib/populator/adapters/sqlite.rb:25:in `ConnectionAdapters'
/home/ec2-user/.rvm/gems/jruby-1.6.3@dm_app/gems/populator-1.0.0/lib/populator/adapters/sqlite.rb:24:in `ActiveRecord'
/home/ec2-user/.rvm/gems/jruby-1.6.3@dm_app/gems/populator-1.0.0/lib/populator/adapters/sqlite.rb:23:in `(root)'
org/jruby/RubyKernel.java:1038:in `require'
/home/ec2-user/.rvm/gems/jruby-1.6.3@dm_app/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:239:in `require'
/home/ec2-user/.rvm/gems/jruby-1.6.3@dm_app/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:225:in `load_dependency'
/home/ec2-user/.rvm/gems/jruby-1.6.3@dm_app/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:596:in `new_constants_in'
/home/ec2-user/.rvm/gems/jruby-1.6.3@dm_app/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:595:in `new_constants_in'
/home/ec2-user/.rvm/gems/jruby-1.6.3@dm_app/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:225:in `load_dependency'
/home/ec2-user/.rvm/gems/jruby-1.6.3@dm_app/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:239:in `require'
/home/ec2-user/.rvm/gems/jruby-1.6.3@dm_app/gems/populator-1.0.0/lib/populator/adapters/sqlite.rb:8:in `(root)'
org/jruby/RubyKernel.java:1038:in `require'
/home/ec2-user/.rvm/gems/jruby-1.6.3@dm_app/gems/populator-1.0.0/lib/populator.rb:68:in `require'
org/jruby/RubyArray.java:1603:in `each'
/home/ec2-user/.rvm/gems/jruby-1.6.3@global/gems/bundler-1.0.21/lib/bundler/runtime.rb:66:in `require'
org/jruby/RubyArray.java:1603:in `each'
/home/ec2-user/.rvm/gems/jruby-1.6.3@global/gems/bundler-1.0.21/lib/bundler/runtime.rb:55:in `require'
/home/ec2-user/.rvm/gems/jruby-1.6.3@global/gems/bundler-1.0.21/lib/bundler.rb:122:in `require'
/home/ec2-user/tmp/dm_app/config/application.rb:9:in `(root)'
org/jruby/RubyKernel.java:1038:in `require'
/home/ec2-user/.rvm/rubies/jruby-1.6.3/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `require'
/home/ec2-user/tmp/dm_app/config/application.rb:4:in `(root)'
org/jruby/RubyKernel.java:1063:in `load'
/home/ec2-user/tmp/dm_app/Rakefile:25:in `load_rakefile'
/home/ec2-user/.rvm/gems/jruby-1.6.3@global/gems/rake-0.9.2/lib/rake/application.rb:495:in `raw_load_rakefile'
/home/ec2-user/.rvm/gems/jruby-1.6.3@global/gems/rake-0.9.2/lib/rake/application.rb:78:in `load_rakefile'
/home/ec2-user/.rvm/gems/jruby-1.6.3@global/gems/rake-0.9.2/lib/rake/application.rb:129:in `standard_exception_handling'
/home/ec2-user/.rvm/gems/jruby-1.6.3@global/gems/rake-0.9.2/lib/rake/application.rb:77:in `load_rakefile'
/home/ec2-user/.rvm/gems/jruby-1.6.3@global/gems/rake-0.9.2/lib/rake/application.rb:61:in `run'
/home/ec2-user/.rvm/gems/jruby-1.6.3@global/gems/rake-0.9.2/lib/rake/application.rb:129:in `standard_exception_handling'
/home/ec2-user/.rvm/gems/jruby-1.6.3@global/gems/rake-0.9.2/lib/rake/application.rb:59:in `run'
/home/ec2-user/.rvm/gems/jruby-1.6.3@global/gems/rake-0.9.2/bin/rake:32:in `(root)'
org/jruby/RubyKernel.java:1063:in `load'
/home/ec2-user/.rvm/gems/jruby-1.6.3@global/bin/rake:19:in `(root)'