mirror of
https://github.com/ruby/ruby.git
synced 2025-09-21 03:24:00 +02:00
Merge RubyGems-3.3.20 and Bundler-2.3.20
This commit is contained in:
parent
44c926f3a9
commit
522b75f1b6
135 changed files with 1131 additions and 613 deletions
|
@ -254,7 +254,7 @@ class Gem::UnsatisfiableDependencyError < Gem::DependencyError
|
|||
# Gem::Resolver::DependencyRequest +dep+
|
||||
|
||||
def initialize(dep, platform_mismatch=nil)
|
||||
if platform_mismatch and !platform_mismatch.empty?
|
||||
if platform_mismatch && !platform_mismatch.empty?
|
||||
plats = platform_mismatch.map {|x| x.platform.to_s }.sort.uniq
|
||||
super "Unable to resolve dependency: No match for '#{dep}' on this platform. Found: #{plats.join(', ')}"
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue