[Rubygems-developers] [ rubygems-Bugs-25810 ] undefined method `manage_gems'

noreply at rubyforge.org noreply at rubyforge.org
Wed May 6 16:25:36 EDT 2009


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: 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


More information about the Rubygems-developers mailing list