On 6/14/06, Jim Weirich <jim / weirichhouse.org> wrote:

> Gregory Brown wrote:

> >        # Load dependent gems first
> >        spec.dependencies.each do |dep_gem|
> > -       activate(dep_gem, autorequire)
> > +       activate(dep_gem, spec.autorequire)
> >        end
>
> Oh, don't do this.  The autorequire field in the gem spec is not a
> boolean flag, but the name of the file to automatically require when
> activating a gem.  Setting autorequire in the gem spec only controls
> what file you want to autorequire, not whether dependent gems should
> autorequire or not.

Ah, I suspected I was breaking something ;)

> And we are deprecating autorequire anyways.

Good!