From: Marko Schulz Date: 2003-08-05T23:35:02+09:00 Subject: Re: Log4r and Ruby 1.8.0 in Singleton problems On Tue, Aug 05, 2003 at 11:09:19PM +0900, Dave Thomas wrote: > ts wrote: > > > > require '/usr/local/lib/ruby/1.8/singleton.rb' > > > >is different (it think that it's another module) > > > > require 'singleton' # which is in repository.rb > > > > I have never understood this: why doesn't Ruby store the cannonical > (fully expanded) path name; that would eliminate this kind of problem. I always thought this isn't done, so the programmer isn't deluded a false sense of security: There isn't always _the_ cannonical path. Think of filesystems that ignore the case in filenames. (Not to mention (symbolic and hard) links or alias names (single~1.rb) -- marko schulz