require_gem is obsolete. Use gem instead.

spongebob
2007-04-17T10:42:01Z

Good Day!

I am using Rails version 1.2.3 and gem version 0.9.2 and I keep
getting this error:

boot.rb:29:Warning: require_gem is obsolete.  Use gem instead.

Then what I did is I changed "require_gem" to "gem" coz
that''s what I
read from most websites having the same error.. but after that it gave
me another error:

/usr/lib64/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/
dependencies.rb:266:in `load_missing_constant'': uninitialized constant
ActionMailer (NameError)
        from /usr/lib64/ruby/gems/1.8/gems/activesupport-1.4.2/lib/
active_support/dependencies.rb:452:in `const_missing''
        from /usr/lib64/ruby/gems/1.8/gems/activesupport-1.4.2/lib/
active_support/dependencies.rb:464:in `const_missing''
        from /var/www/rails/camfu-old/config/environment.rb:18
        from /usr/lib64/ruby/gems/1.8/gems/rails-1.2.3/lib/
initializer.rb:41:in `run''
        from /var/www/rails/camfu-old/config/environment.rb:13
        from /usr/lib64/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
        from /usr/lib64/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require''
        from /usr/lib64/ruby/gems/1.8/gems/activesupport-1.4.2/lib/
active_support/dependencies.rb:495:in `require''
         ... 23 levels...
        from /usr/lib64/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/
server.rb:39
        from /usr/lib64/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
        from /usr/lib64/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require''
        from script/server:3

Has this happened to anyone?
Any Help would be deeply appreciated. Thank You.


--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---