I ran into this when I updated my gems locally via 'gem update' and
attempted to run 'rake spec' against the next branch of the aggregator
http://stackoverflow.com/questions/1145318/getting-uninitialized-constant...
A workaround for the time being is to install an older version of
test-unit via
gem install test-unit -v 1.2.3
and forcing rails to use it, by adding the following to
config/environment.rb
diff --git a/src/config/environment.rb b/src/config/environment.rb
index 4277fe7..395ad7a 100644
--- a/src/config/environment.rb
+++ b/src/config/environment.rb
@@ -73,4 +73,7 @@ Rails::Initializer.run do |config|
# The default locale is :en and all translations from
config/locales/*.rb,yml are auto loaded.
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales',
'*.{rb,yml}')]
# config.i18n.default_locale = :de
+
+ config.gem 'test-unit', :lib => 'test/unit', :version =>
'1.2.3'
+
end
-Mo