From: Benoit Daloze Date: 2010-01-22T20:11:07+09:00 Subject: [ruby-core:27691] Re: able to re-require $0 Hi, > In similar, you can require the same library twice. > > �require "foo" > �require "foo" > Excuse me, but at least in 1.9, p require './test' #=> true p require './test' #=> false (the same happen with a stdlib, like benchmark of course) It's not loaded the second time. And it's very harmful to load 2 times the same file, because it will redefine every method and constant... In fact, $" list all the files loaded, so I suspect require looks if it's not already there. And the current file is not (except if you require it of course). But this is not really a bug, u'll probably never require something with the same name than your script.