From: Intransition Date: 2009-10-21T11:01:36+09:00 Subject: Re: Hey you! Stop using relative requires! On Oct 20, 12:50 am, "Michael W. Ryder" <_mwry...@worldnet.att.net> wrote: > What would you suggest in the case of multiple versions of a module for > testing purposes?  If everything is "hard coded" to go to a specific > directory than all versions would use the same code and defeat the > purpose of having the different versions. Testing is a build issue and a separate matter. In that case you want to simulate the Ruby environment locally, so you would add lib/ to the $LOAD_PATH in your *helper* script. Or on the command line of your test runner. Eg. $ testrb -Ilib test/**/*.rb