aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/file_evented_update_checker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/file_evented_update_checker.rb b/activesupport/lib/active_support/file_evented_update_checker.rb
index 70d38c10bb..18ac398a43 100644
--- a/activesupport/lib/active_support/file_evented_update_checker.rb
+++ b/activesupport/lib/active_support/file_evented_update_checker.rb
@@ -84,7 +84,7 @@ module ActiveSupport
end
def existing_parent(dir)
- dir = Pathname.new(File.expand_path(dir))
+ dir = Pathname.new(expand_path(dir))
loop do
if dir.directory?