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

Richard Kilmer rich at infoether.com
Fri Sep 3 10:48:05 EDT 2004


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.

-rich


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