Re: error message ''undefined method `require_gem'' for main:Object (NoMethodError)''--how to resolve?

Kenneth McDonald
Tue, 30 Sep 2008 16:43:03 -0000

Unfortunately, it''s not my code that''s causing the problem,
and I
don''t know what is out of date that I need
to update. This all started when I upgraded to RoR 2.x (with
dependencies). I can''t do anything about the
code that''s in there, except try to figure out how to upgrade whatever
is using this call.

Thanks,
Ken


On Sep 30, 2008, at 11:37 AM, Hunt Jon wrote:

>
> require_gem ''gemname''
>
> is now to
>
> require ''rubygems''
> require ''gemname''
>
> This is how you convert.