/Users/gbarrs/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:440:in `rescue in load_missing_constant': uninitialized constant Test::Unit::TestSuite (NameError)
The fix in my case was to add the the following 'require' statement to the rb spec file causing the error.
require 'test/unit/testsuite'
I have no idea why this line was required when the tests had been working perfectly well before the upgrade without it. I suspect some dependency versioning issue but I can't be sure. Anyway, the fix worked for me and it may work for you.
Added
ReplyDeleteconfig.gem 'test-unit', :lib => 'test/unit'
to config/environment.rb
works for me. Don't know enough about Ruby to know why!