Bugs item #25810, was opened at 2009-05-06 13:03 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=25810&group_id=126
Category: `gem` commands (other) Group: v1.3.x Status: Closed Resolution: Out of Date Priority: 3 Submitted By: Jérémy Lecour (eboss) Assigned to: Daniel Berger (djberg96) Summary: undefined method `manage_gems' Initial Comment: Hello, On a debian Etch, I suddenly get this error : /usr/bin/gem:11: undefined method `manage_gems' for Gem:Module (NoMethodError) ---------------------------------------------------------------------- >Comment By: Eric Hodel (drbrain) Date: 2009-05-06 14:11 Message: You haven't been paying attention to the install messages, at the end it printed out where it installed gem, which was likely `gem1.8` or `gem18` at the end of the upgrade, not `gem`. The last half of this blog post will help you out: http://blog.segment7.net/articles/2009/01/15/usr-bin-gems-reports-gem-manage_gems-is-deprecated ---------------------------------------------------------------------- Comment By: Jérémy Lecour (eboss) Date: 2009-05-06 13:42 Message: Hi Dan, Thanks for the quick answer. I get this error when I do a simple "$ sudo gem list" or "$ sudo gem update". I don't maintain any gem so I don't really get what you mean by "It should be removed from your gemspec". Cheers Jérémy ---------------------------------------------------------------------- Comment By: Daniel Berger (djberg96) Date: 2009-05-06 13:25 Message: The manage_gems method had been deprecated for quite some time and was finally removed. It should be removed from your gemspec. Or, if you prefer to maintain backwards compatibility, you can do this: Gem.manage_gems if Gem::RubyGemsVersion.to_f < 1.0 Regards, Dan ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=25810&group_id=126 _______________________________________________ Rubygems-developers mailing list http://rubyforge.org/projects/rubygems Rubygems-developers@rubyforge.org http://rubyforge.org/mailman/listinfo/rubygems-developers