[Rubygems-developers] Bonus Stuff: gemenabled rwhich

Jim Weirich jim at weirichhouse.org
Mon Jul 26 02:07:34 EDT 2004

Jim Weirich said:
> I'm thinking that the "all_load_paths" function in rwhich would be a
> generally useful method for gem-enabled software.  all_load_paths and
> perhaps latest_load_paths could certainly be used by the DBI interface
> when it tries to autolocate its DBD drivers.  I would rather have RubyGems
> provide this functionality rather than having each Gem-aware package
> duplicate it.

I've committed these changes with associated unit tests.

-- 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