class Gem::Commands::InstallCommand
def show_install_errors(errors) # :nodoc:
def show_install_errors(errors) # :nodoc: return unless errors errors.each do |x| next unless Gem::SourceFetchProblem === x require_relative "../uri" msg = "Unable to pull data from '#{Gem::Uri.redact(x.source.uri)}': #{x.error.message}" alert_warning msg end end