diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md index 64d8c617b1d6c..c187e73b7ca44 100644 --- a/activesupport/CHANGELOG.md +++ b/activesupport/CHANGELOG.md @@ -1,3 +1,8 @@ +* Improve error message when EventedFileUpdateChecker is used without a + compatible version of the Listen gem + + *Hartley McGuire* + * Add `:report` behavior for Deprecation Setting `config.active_support.deprecation = :report` uses the error diff --git a/activesupport/lib/active_support/evented_file_update_checker.rb b/activesupport/lib/active_support/evented_file_update_checker.rb index 04211082b785b..c024a6bc10774 100644 --- a/activesupport/lib/active_support/evented_file_update_checker.rb +++ b/activesupport/lib/active_support/evented_file_update_checker.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -gem "listen" +gem "listen", "~> 3.5" require "listen" require "set"