class Gem::ImpossibleDependenciesError - Documentation for Ruby 4.0
Description: class Gem::ImpossibleDependenciesError: Resolver when dependencies conflict and create the inability to find a valid possible spec for a request.
Keywords: ruby,class,Gem::ImpossibleDependenciesError

🔍

No recent searches

# class Gem::ImpossibleDependenciesError

Raised by `Gem::Resolver` when dependencies conflict and create the inability to find a valid possible spec for a request.

### Attributes

conflicts [R]
request [R]

### Public Class Methods

new (request, conflicts)
Source

    # File lib/rubygems/exceptions.rb, line 137
    def initialize(request, conflicts)
      @request   = request
      @conflicts = conflicts

      super build_message
    end

Calls superclass method `Exception::new`

### Public Instance Methods

dependency ()
Source

    # File lib/rubygems/exceptions.rb, line 158
    def dependency
      @request.dependency
    end