instance method
Gem::Commands::CheckCommand#check_gems
check_gems
lib/rubygems/commands/check_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/commands/check_command.rb, line 41
def check_gems
say "Checking gems..."
say
gems = begin
get_all_gem_names
rescue StandardError
[]
end
Gem::Validator.new.alien(gems).sort.each do |key, val|
if val.empty?
say "#{key} is error-free" if Gem.configuration.verbose
else
say "#{key} has #{val.size} problems"
val.each do |error_entry|
say " #{error_entry.path}:"
say " #{error_entry.problem}"
end
end
say
end
end
No documentation available