From: Gavin Sinclair Date: 2002-12-14T13:34:17+09:00 Subject: Re: require circularity? From: "Kent Dahl" > > 'require' will only load in the file if it hasn't already been loaded. > > However, I think there was some thread a while back on a few > pathological cases where 'require' didn't save the day. One was the case > of reaching the same .rb file from different paths (i.e. require > 'somename' versus require '/usr/lib/ruby/somename'). > [...] My test (ruby 1.6.5 (2001-09-19) [i386-cygwin] -- I really must upgrade) indicates that require is tricked by relative v. absolute path. I consider this quite a serious bug, not just a pathological case. Gavin