Bugs item #25810, was opened at 06/05/2009 22: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: Jérémy Lecour (eboss)
Date: 06/05/2009 22: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: 06/05/2009 22: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

Reply via email to