On 3/6/06, Austin Ziegler <halostatue / gmail.com> wrote:

> >  spec.autorequire = 'init.rb'
>
> The #autorequire is deprecated at this point and is not recommended in
> any way. RubyGems still supports it, but I believe that the next version
> will be spouting some warnings at people who use autorequire in building
> their gems. Since you're using a secondary call to do the load, you can
> mandate that lib/init.rb is the file to load and have your loader do the
> require yourself.

Maybe I misunderstood this, but I thought "require_gem {gem-name}"
used the autorequire attribute to know which file from the gem to
load. Is that correct? If so, what will happen to require_gem when
autorequire goes away?

--
R. Mark Volkmann
Partner, Object Computing, Inc.