aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/activesupport.gemspec
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2019-04-11 22:43:45 +0200
committerXavier Noria <fxn@hashref.com>2019-04-11 23:10:13 +0200
commit7b6b10542d5dac2b50f2578143dc5d70120d1146 (patch)
tree97faab6b3ebdd667a068d8955ecfa8ffa392a589 /activesupport/activesupport.gemspec
parent23392eff9f8065475739e58232a5db97604f8056 (diff)
downloadrails-7b6b10542d5dac2b50f2578143dc5d70120d1146.tar.gz
rails-7b6b10542d5dac2b50f2578143dc5d70120d1146.tar.bz2
rails-7b6b10542d5dac2b50f2578143dc5d70120d1146.zip
improves the reloading disabled error message
The original message from Zeitwerk is "can't reload, please call loader.enable_reloading before setup (Zeitwerk::Error)", which is not very informative for Rails programmers. Rails should err with a message worded in terms of its interface.
Diffstat (limited to 'activesupport/activesupport.gemspec')
-rw-r--r--activesupport/activesupport.gemspec2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/activesupport.gemspec b/activesupport/activesupport.gemspec
index 546cc1797a..dd2340cdd3 100644
--- a/activesupport/activesupport.gemspec
+++ b/activesupport/activesupport.gemspec
@@ -34,5 +34,5 @@ Gem::Specification.new do |s|
s.add_dependency "tzinfo", "~> 1.1"
s.add_dependency "minitest", "~> 5.1"
s.add_dependency "concurrent-ruby", "~> 1.0", ">= 1.0.2"
- s.add_dependency "zeitwerk", "~> 2.1"
+ s.add_dependency "zeitwerk", "~> 2.1", ">= 2.1.2"
end