I’m having troubles while trying to run some of the rack tests.
Can someone please advice how to fix the following errors:
- ArgumentError: undefined class/module MyClass
- ArgumentError (A copy of MyLib::MyClass::ClassMethods has been
removed from the module tree but is still active!)
I guess it has something to do with reloading stuff, etc.
My tests based on Rack::Test lib, and I’d prefer to not reload any
class at all (load it only once when suite starts), please share how
to disable reloading classes?
config.cache_classes = true
ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-darwin10.7.0], MBARI
0x6770, Ruby Enterprise Edition 2011.03
I had on another working machine earlier version of Ruby - worked