diff options
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r-- | activesupport/lib/active_support/evented_file_update_checker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/evented_file_update_checker.rb b/activesupport/lib/active_support/evented_file_update_checker.rb index 8d9d19c2d9..f59f5d17dc 100644 --- a/activesupport/lib/active_support/evented_file_update_checker.rb +++ b/activesupport/lib/active_support/evented_file_update_checker.rb @@ -127,7 +127,7 @@ module ActiveSupport normalized_gem_paths = Gem.path.map { |path| File.join path, "" } dtw = dtw.reject do |path| - normalized_gem_paths.any? { |gem_path| path.to_s.starts_with?(gem_path) } + normalized_gem_paths.any? { |gem_path| path.to_s.start_with?(gem_path) } end @ph.filter_out_descendants(dtw) |