From: Jim Weirich Date: 2005-06-29T00:15:29+09:00 Subject: Re: RubyGems Issue Patrick Fernie said: > Ah, this makes sense. Will the patched require eventually load by the > gem library name? Is the question: Will you eventually be able to specify the gem name in a require statement? The answer is no. 'require' should always work with files. Here's some guidlelines: * Always use a plain 'require' in your code. * Use 'require_gem' only in code that needs to specify a specific version of a gem to be used. * When you do use a 'require_gem', collect the require_gem statements in a contained area of your code base so that when you need to change what versions are required, it will be easy to do so. -- -- 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)