We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e426883 commit ca86653Copy full SHA for ca86653
lib/spring/application.rb
@@ -91,6 +91,10 @@ def preload
91
92
require Spring.application_root_path.join("config", "application")
93
94
+ unless Rails.respond_to?(:gem_version) && Rails.gem_version >= Gem::Version.new('4.2.0')
95
+ raise "Spring only supports Rails >= 4.2.0"
96
+ end
97
+
98
# config/environments/test.rb will have config.cache_classes = true. However
99
# we want it to be false so that we can reload files. This is a hack to
100
# override the effect of config.cache_classes = true. We can then actually
0 commit comments