From: Han Holl Date: 2005-05-24T22:34:08+09:00 Subject: Re: if __FILE_ == $0 executed twice On 5/24/05, Gavin Kistner wrote: > On May 24, 2005, at 3:19 AM, Han Holl wrote: > > However, if one of the included files includes this file itself (not > > unlikely at all), the code gets executed twice. > > Is there a reasonable workaround for this ? > > Are you using 'load' or 'require'? > > require. The initial ruby file does not wind up in $" Han