From 4d4ff531b8807ee88a3fc46875c7e76f613956fb Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Thu, 31 Oct 2013 11:47:51 -0700 Subject: clean up some warnings on trunk ruby --- activesupport/lib/active_support/file_update_checker.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/lib/active_support/file_update_checker.rb') diff --git a/activesupport/lib/active_support/file_update_checker.rb b/activesupport/lib/active_support/file_update_checker.rb index d6918bede2..78b627c286 100644 --- a/activesupport/lib/active_support/file_update_checker.rb +++ b/activesupport/lib/active_support/file_update_checker.rb @@ -92,7 +92,7 @@ module ActiveSupport def watched @watched || begin - all = @files.select { |f| File.exists?(f) } + all = @files.select { |f| File.exist?(f) } all.concat(Dir[@glob]) if @glob all end -- cgit v1.2.3