{"id":590,"date":"2007-02-21T19:55:36","date_gmt":"2007-02-22T00:55:36","guid":{"rendered":"http:\/\/blogs.law.harvard.edu\/hoanga\/2007\/02\/21\/messages-like-warning-require_gem-is-o"},"modified":"2007-02-21T19:55:36","modified_gmt":"2007-02-22T00:55:36","slug":"messages-like-warning-require_gem-is-obsolete-use-gem-instead-drivi","status":"publish","type":"post","link":"https:\/\/archive.blogs.harvard.edu\/hoanga\/2007\/02\/21\/messages-like-warning-require_gem-is-obsolete-use-gem-instead-drivi\/","title":{"rendered":"Messages like <em>Warning: require_gem is obsolete.  Use gem instead.<\/em> driving you nuts?"},"content":{"rendered":"<p>If you&#8217;re seeing tons of those messages like I&#8217;ve been and wondering what in the world that is all about.  After Googling around I finally found a definitive answer on Jason Young&#8217;s Blog <a href=\"http:\/\/rambleon.org\/2007\/02\/13\/require_gem-deprecation-warnings-redux\/\">what it was all about.<\/a><\/p>\n<h4>What is it<\/h4>\n<p>Since rubygems 0.9.0 the command <em>require_gem<\/em> has been deprecated in favor of just plain <em>gem<\/em>.   Part of the reasoning for it going the way of the dodo is tied to <a href=\"http:\/\/redhanded.hobix.com\/inspect\/autorequireIsBasicallyGoneEveryone.html\">some<\/a><br \/>\n<a href=\"http:\/\/rubyforge.org\/pipermail\/rubygems-developers\/2005-October\/001800.html\">problems<\/a> with <em>autorequire<\/em>.    I don&#8217;t know any of the deep voodoo that powers rubygems but uh.. okay.. sure.<\/p>\n<h4>How to fix it<\/h4>\n<p>If you&#8217;re still getting these warnings you&#8217;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.<\/p>\n<h4>References<\/h4>\n<ul>\n<li><a href=\"http:\/\/rambleon.org\/2007\/01\/24\/my-my-those-deprecation-warnings-are-annoying\/\">My those deprecation warnings are annoying<\/a><\/li>\n<li><a href=\"http:\/\/rambleon.org\/2007\/02\/13\/require_gem-deprecation-warnings-redux\/\">Gem deprecation redux<\/a><\/li>\n<li><a href=\"http:\/\/redhanded.hobix.com\/inspect\/autorequireIsBasicallyGoneEveryone.html\">Autorequire is gone<\/a><\/li>\n<li><a href=\"http:\/\/rubyforge.org\/pipermail\/rubygems-developers\/2005-October\/001800.html\">Rubygems mailing list post on autorequire issues<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re seeing tons of those messages like I&#8217;ve been and wondering what in the world that is all about. After Googling around I finally found a definitive answer on Jason Young&#8217;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 [&hellip;]<\/p>\n","protected":false},"author":703,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1215,972,615],"tags":[],"class_list":["post-590","post","type-post","status-publish","format-standard","hentry","category-gripe","category-programming","category-ruby"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/posts\/590","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/users\/703"}],"replies":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/comments?post=590"}],"version-history":[{"count":0,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/posts\/590\/revisions"}],"wp:attachment":[{"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/media?parent=590"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/categories?post=590"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/tags?post=590"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}