Skip to content

Commit

Permalink
Merge pull request #686 from ghiculescu/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
fxn authored Dec 6, 2022
2 parents b01b769 + 2eec2ca commit 4581232
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,14 @@ Rails directory.
Spring reloads application code, and therefore needs the application to have
reloading enabled.

Please, make sure `config.cache_classes` is `false` in the environments that
Ensure that `config.enable_reloading` is `true` in the environments that
Spring manages. That setting is typically configured in
`config/environments/*.rb`. In particular, make sure it is `false` for the
`config/environments/*.rb`. In particular, make sure it is `true` for the
`test` environment.

Note: in versions of Rails before 7, the setting is called `cache_classes`,
and it needs to be `false` for Spring to work.

### Usage

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

0 comments on commit 4581232

Please sign in to comment.