[Rails] const_missing: uninitialized constant Test when running unit tests

Derek Neighbors
Mon, 30 Jan 2006 23:35:33 -0000

I have a set of tests that run without issue on one machine.  On another
machine when running the same tests we get:

/usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in
`const_missing'': uninitialized constant Test (NameError)
        from ./test/unit/../test_helper.rb:5
        from test/unit/entity_test.rb:1:in `require''
        from test/unit/entity_test.rb:1

It is almost if the Test object itself just doesn''t exist.  The machine
that it does not work on used to be rails 0.14 and has been upgraded to
1.0.  The machine it works on has been 1.0 for some time.  We have tried
un-installing rails and re-installing it to no avail.  Any ideas?  Both
machines are PowerBook G4 OS X 10.4.

--
Derek Neighbors
Integrum Technologies
http://www.integrumtech.com
"Redefining IT"