From: Han Holl Date: 2005-05-24T23:56:50+09:00 Subject: Re: if __FILE_ == $0 executed twice On 5/24/05, Ara.T.Howard@noaa.gov wrote: > [ cut ] > because require doesn't do a File::expand_path on loaded features. imho it's > a bug and require should actually hash the stat of the file to see if it's > loaded but that explodes on nfs sometimes... at least expanding the path would > help though. > Yes, I also find this strange. $0 should also be included. Maybe require could even hash on a md5sum of the contents of the file ? Han Holl