diff --git a/rails/rubocop/rubocop-rails.yml b/rails/rubocop/rubocop-rails.yml
index 00e5f1b71d6ff53be568538d29e412e74be22363..e39255a81e23296c04c866ca7b7817929bc65a72 100644
--- a/rails/rubocop/rubocop-rails.yml
+++ b/rails/rubocop/rubocop-rails.yml
@@ -27,7 +27,7 @@ Rails/HasAndBelongsToMany:
 
 # prevent puts, but exclude test, config, db since Rails Logger may not have been loaded
 Rails/Output:
-  Exclude: *test_config_db
+  Exclude: ['test/**/*', 'config/**/*', 'db/**/*']
 
 # allow usage of methods that skip validations; we trust developers know what they are doing
 Rails/SkipsModelValidations: