Re: require_gem is obsolete

Steve Longdo
Sat, 03 Feb 2007 23:31:25 -0000

Is the "rails" command for generating apps actually producing the code
with
require_gem?  Has it not been patched so that RubyGems < 0.9.1 will still
work?  Other wise...

On 2/3/07, Jordan Krushen
<jkrushen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
>
>
> On 2/3/07, doucie <
rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:
>
> > When I start the Webrick server I get the error messgage...
> > /config/boot.re.29:Warning: require_gem is obsolete.  Use gem instead
> >
> > Anyone know what this means.
>
> It''s pretty explicit:  ''gem'' should be used
instead of ''require_gem''.
> Have you tried examining the mentioned file at the given line number?
>
> Open config/boot.rb, go to line 29, and change
''require_gem'' to ''gem''.
> There''s another one 10 lines later, too.
>
> It is of course only a warning, not an error, as it specifies.  I
> still find it visually annoying enough to merit changing.
>
> HTH,
>
> J.
>
> >
>


--
Thanks,
-Steve