class

Gem::MissingSpecVersionError

v2_4_6 - Show latest stable - Superclass: Gem::MissingSpecError

Raised when trying to activate a gem, and the gem exists on the system, but not the requested version. Instead of rescuing from this class, make sure to rescue from the superclass Gem::LoadError to catch all types of load errors.

Attributes

[R]specs

Files

  • lib/rubygems/errors.rb