Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Can not run ActiveRecord tests under 1.9.2

#5887

The tests for ActiveRecord will not run due to some loading issue under 1.9.2 because it complains about a NameError when loading ActiveSupport. I think this is a general load error and nothing specific with the OrderedHash namespace. If someone could give me some guidance on what might be causing this, I would be happy to investigate and provide a patch. Note, I have confirmed this on all my computers. Initially I thought it was "just me". Here is the stack trace I see.

/Users/kencollins/Repositories/rails/activesupport/lib/active_support/ordered_hash.rb:9:in `<module:ActiveSupport>': uninitialized constant ActiveSupport::OrderedHash (NameError)
from /Users/kencollins/Repositories/rails/activesupport/lib/active_support/ordered_hash.rb:8:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /Users/kencollins/Repositories/rails/activesupport/lib/active_support/core_ext/enumerable.rb:1:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /Users/kencollins/Repositories/rails/activesupport/lib/active_support/core_ext.rb:8:in `block in <top (required)>'
from /Users/kencollins/Repositories/rails/activesupport/lib/active_support/core_ext.rb:8:in `each'
from /Users/kencollins/Repositories/rails/activesupport/lib/active_support/core_ext.rb:8:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /Users/kencollins/Repositories/rails/activesupport/lib/active_support.rb:56:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /Users/kencollins/Repositories/rails/activerecord/lib/active_record.rb:25:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /Users/kencollins/Repositories/rails/activerecord/test/cases/helper.rb:10:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from test/cases/aaa_create_tables_test.rb:2:in `<top (required)>'
from /Users/kencollins/.rvm/gems/ruby-1.9.2-p0@decisiv/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in `load'
from /Users/kencollins/.rvm/gems/ruby-1.9.2-p0@decisiv/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in `block in <main>'
from /Users/kencollins/.rvm/gems/ruby-1.9.2-p0@decisiv/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in `each'
    from /Users/kencollins/.rvm/gems/ruby-1.9.2-p0@decisiv/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in `<main>'
rake aborted!

Reported by Ken Collins · October 29th, 2010 @ 02:38 PM

State: new
Milestone: none
Assigned to: nobody
Importance: Low