diff options
Diffstat (limited to 'lib/rubygems/doctor.rb')
-rw-r--r-- | lib/rubygems/doctor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/doctor.rb b/lib/rubygems/doctor.rb index 0aa0f7b79f..3c71fd5aa4 100644 --- a/lib/rubygems/doctor.rb +++ b/lib/rubygems/doctor.rb @@ -105,7 +105,7 @@ class Gem::Doctor next if ent == "." || ent == ".." child = File.join(directory, ent) - next unless File.exists?(child) + next unless File.exist?(child) basename = File.basename(child, extension) next if installed_specs.include? basename |