Re: require_gem is obsolete

Jordan Krushen
Sat, 03 Feb 2007 22:54:21 -0000

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.