Al Hoang

February 21, 2007

Messages like Warning: require_gem is obsolete. Use gem instead. driving you nuts?

Filed under: gripe, programming, ruby — hoanga @ 7:55 pm

If you’re seeing tons of those messages like I’ve been and wondering what in the world that is all about. After Googling around I finally found a definitive answer on Jason Young’s Blog what it was all about.

What is it

Since rubygems 0.9.0 the command require_gem has been deprecated in favor of just plain gem. Part of the reasoning for it going the way of the dodo is tied to some
problems with autorequire. I don’t know any of the deep voodoo that powers rubygems but uh.. okay.. sure.

How to fix it

If you’re still getting these warnings you’re recommended to try re-installing all gems you might have installed if you have a 0.9.0 or lower installation. Happy Ruby Hacking.

References

Share and Enjoy:
  • Digg
  • del.icio.us
  • Netvouz
  • DZone
  • ThisNext
  • Reddit
  • StumbleUpon
  • LinkedIn

Comments are closed.

Powered by WordPress

Protected by AkismetBlog with WordPress