From: Avdi Grimm Date: 2011-03-04T01:13:04+09:00 Subject: Re: How to stop a file from being required On Thu, Mar 3, 2011 at 11:00 AM, Usman Hussain wrote: > the problem is... we do not know where the file is first getting > loaded... so if we can unrequire a file that would be great. is that > even possible though? Here's an article I wrote a couple years ago about tracking down accidental double-loads in Ruby apps: http://avdi.org/devblog/2009/10/22/double-load-guards-in-ruby/ -- Avdi Grimm http://avdi.org