From: Dennis Oelkers Date: 2004-03-10T23:29:38+09:00 Subject: Re: require is excluding too much In pan.2004.03.10.14.13.43.358057@adslhome.dk Simon Strandgaard wrote: > On Wed, 10 Mar 2004 15:23:08 +0100, shasckaw wrote: > > When requiring a module twice, it is probable that ruby just use its > > name to check if it has to reload it or not, forgetting to also check if > > it is in a different directory or not. > > It seems so. The alternative is to use 'load' instead of 'require' which forces the interpreter to reload the file if it has changed. YMMV. Kind regards, Dennis Oelkers -- Dennis Oelkers | Webadministration | Zentraleinrichtung Rechenzentrum TU-Berlin | EN-Gebaeude, K042 | Telefon: 030-314-25029 Key Fingerprint: A6 7A B6 90 09 56 E8 32 02 40 6B 27 80 17 00 89 61 E7 CA 6F