Sha256: f7723fa48e66dccbde835d8b1433fe1c9303374ef274a5e233a925f2cc3f09be

Contents?: true

Size: 402 Bytes

Versions: 180

Compression:

Stored size: 402 Bytes

Contents

require_relative 'failure_writer'

module Bundler::PubGrub
  class SolveFailure < StandardError
    attr_reader :incompatibility

    def initialize(incompatibility)
      @incompatibility = incompatibility
    end

    def to_s
      "Could not find compatible versions\n\n#{explanation}"
    end

    def explanation
      @explanation ||= FailureWriter.new(@incompatibility).write
    end
  end
end

Version data entries

180 entries across 180 versions & 6 rubygems

Version Path
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.3.0/gems/bundler-2.5.21/lib/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb
rubygems-update-3.6.3 bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb
bundler-2.6.3 lib/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/bundler-2.5.5/lib/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb
rubygems-update-3.6.2 bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb
bundler-2.6.2 lib/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb
rubygems-update-3.6.1 bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb
bundler-2.6.1 lib/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb
rubygems-update-3.6.0 bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb
bundler-2.6.0 lib/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb
direct7-0.0.18 vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb
direct7-0.0.17 vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb
rubygems-update-3.5.23 bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb
bundler-2.5.23 lib/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb
direct7-0.0.16 vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb
rubygems-update-3.5.22 bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb
bundler-2.5.22 lib/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb
rubygems-update-3.5.21 bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb
bundler-2.5.21 lib/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb
rubygems-update-3.5.20 bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb