[Rubygems-developers] require_gem 'extensions/string' b0rked

Gavin Sinclair gsinclair at soyabean.com.au
Fri Sep 3 11:08:14 EDT 2004


What about versioning?

  require_gem 'extensions/string', '> 0.2'

I don't think require_gem is dead yet, and I'd like to retain that
shortcut when using it.

Gavin


On Saturday, September 4, 2004, 12:48:05 AM, Richard wrote:

> Actually, the point is that you don't need to do require_gem '...path'.  If
> you do require_gem then you just load the gem, otherwise just use require
> and it will load the gem for you.  You now have access to all files in all
> paths, and require_gem is handled automatically.


> On 9/3/04 10:35 AM, "Gavin Sinclair" <gsinclair at soyabean.com.au> wrote:

>> A while ago I modified 'require_gem' so that
>> 
>>   require_gem 'extensions/string'
>> 
>> is equivalent to
>> 
>>   require_gem 'extensions'
>>   require 'extensions/string'
>> 
>> In the recent reshuffle of require_gem, this functionality has been
>> lost, UIMM.
>> 
>> Anyone mind if I reimplement it?
>> 
>> Gavin
>> 
>> _______________________________________________
>> Rubygems-developers mailing list
>> Rubygems-developers at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/rubygems-developers
>> 







More information about the Rubygems-developers mailing list