On Wed, 04 Apr 2001  18:11:36 +0900, Henning VON ROSEN wrote:
> I want to re-require a file, so that I can re-include an updated module.
> 
> How do I do that?
> 
> (One reason for doing that would be that I am using RubyWin, and the
> interpreter seems not possible to restart, unless shutting down RubyWin)

According to the Great Pickaxe[tm], require does not load a feature if
it's already in $". Simply removing the name from $" does the trick:

incl.rb:
	puts "inc loaded"

req.rb:
	require "incl"
	$".delete "incl.rb"
	require "incl"

gives

inc loaded
inc loaded

	Michel