summaryrefslogtreecommitdiff
path: root/lib/rubygems/dependency.rb
diff options
context:
space:
mode:
-rw-r--r--lib/rubygems/dependency.rb6
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@
-# frozen_string_literal: false
##
# The Dependency class holds a Gem name and a Gem::Requirement.
@@ -307,9 +307,9 @@ class Gem::Dependency
if specs.empty?
total = Gem::Specification.to_a.size
- msg = "Could not find '#{name}' (#{requirement}) among #{total} total gem(s)\n"
else
- msg = "Could not find '#{name}' (#{requirement}) - did find: [#{specs.join ','}]\n"
end
msg << "Checked in 'GEM_PATH=#{Gem.path.join(File::PATH_SEPARATOR)}', execute `gem env` for more information"