File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -71,11 +71,14 @@ Rails directory.
71
71
Spring reloads application code, and therefore needs the application to have
72
72
reloading enabled.
73
73
74
- Please, make sure ` config.cache_classes ` is ` false ` in the environments that
74
+ Ensure that ` config.enable_reloading ` is ` true ` in the environments that
75
75
Spring manages. That setting is typically configured in
76
- ` config/environments/*.rb ` . In particular, make sure it is ` false ` for the
76
+ ` config/environments/*.rb ` . In particular, make sure it is ` true ` for the
77
77
` test ` environment.
78
78
79
+ Note: in versions of Rails before 7, the setting is called ` cache_classes ` ,
80
+ and it needs to be ` false ` for Spring to work.
81
+
79
82
### Usage
80
83
81
84
For this walkthrough I've generated a new Rails application, and run
You can’t perform that action at this time.
0 commit comments