David Winter | 19 Jan 16:32

Re: Rails/Gem errors?


Alan Francis wrote:
> David Winter wrote:
>> Is anyone else getting annoying warning messages?
>> 
>> /usr/local/bin/rails:17:Warning: require_gem is obsolete.  Use gem
>> instead.
>> 
>> I get these messages when using the rails command, rake, script/generate
>> etc etc.
>> 
>> I'm using Rails 1.2.1
> 
> You can fix it in environment.rb.  Find the 'require_gem' lines and 
> replace them with 'gem'

Actually, do:

    gem pristine --all

From: http://comments.gmane.org/gmane.comp.lang.ruby.rails/117220

--

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Gmane