Skip to content

Commit 4581232

Browse files
authored
Merge pull request #686 from ghiculescu/patch-1
2 parents b01b769 + 2eec2ca commit 4581232

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,14 @@ Rails directory.
7171
Spring reloads application code, and therefore needs the application to have
7272
reloading enabled.
7373

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
7575
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
7777
`test` environment.
7878

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+
7982
### Usage
8083

8184
For this walkthrough I've generated a new Rails application, and run

0 commit comments

Comments
 (0)