class

Gem::MissingSpecError

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

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

Files

  • lib/rubygems/errors.rb