[Rubygems-developers] Minor fix to require error message

Jim Weirich jim at weirichhouse.org
Wed Feb 9 00:33:05 EST 2005

The fact that the custom require reports the wrong file name when it can't 
load a recursive require really got me stuck today.

So I fixed it.

When custom require fails to load a file via gems, it now rethrows the 
original exception that caused it to try gems in the first place.

-- Jim Weirich    jim at weirichhouse.org     http://onestepback.org
"Beware of bugs in the above code; I have only proved it correct, 
not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)

More information about the Rubygems-developers mailing list