summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/rdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/rdoc b/bin/rdoc
index fe619137fd..7192db2655 100644
--- a/bin/rdoc
+++ b/bin/rdoc
@@ -46,7 +46,7 @@ end
$:.each do |path|
if /site_ruby/ =~ path
rdoc_path = File.join(path, 'rdoc', 'rdoc.rb')
- if File.exists?(rdoc_path)
+ if File.exist?(rdoc_path)
adjust_for_existing_rdoc(path)
break
end