From: Jim Weirich Date: 2005-01-30T14:53:29+09:00 Subject: Re: gem question On Saturday 29 January 2005 07:59 pm, itsme213 wrote: > > Does the following do what you want? > > > > require 'rubygems' > > require 'extensions/kernel' > > Yes it does. Does this work different from require_gem? Evidently :) With rubygems loaded, any require that fails to find a requested file will cause rubygems to look for a gem that can provide the file. The gem containing the file is "activated" and the file is loaded. With require_gem, the gem is explicitly activated and (in addition), any autorequire files specified by the gem author are loaded. -- -- Jim Weirich jim@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)