Skip to content

Commit d657157

Browse files
zeitwerk with ruby 3.1 fails
1 parent a229ffd commit d657157

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

experiments/autoload.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,15 @@ Similarly to the [lazy load experiment](./lazy_load.md), it would be required to
1818

1919
- added a runtime dependency for the library
2020

21+
- Zeitwerk 2.7 requires Ruby >= 3.2. This isn't a deal breaker because we will remove EOL Ruby 3.1 soon, but it would require releasing that version separately.
22+
2123
#### File location changes
2224

2325
To prevent other generators from erroring out due to namespace clashing, some generators have to be moved around (ex. `Faker::Quote` was moved from `/faker/quotes/quote` to `faker/default/quote`). Users can still use the generators as before, their namespaces didn't change.
2426

2527
### Benefits
2628

2729
- less code changes than lazy loading, and lots of customization options available (i.e., eager loading)
28-
- no breaking changes
2930
- code is extremely faster, but a bit slower than lazy loading
3031
- we can enable this as an opt-in configuration
3132

0 commit comments

Comments
 (0)