Commit a14464e
committed
fix: add explicit dependency on logger for Ruby 4
Ruby 4.0 moved "logger" from being a default gem to a bundled one (see
https://www.ruby-lang.org/en/news/2025/12/25/ruby-4-0-0-released/#stdlib-updates
and https://stdgems.org/logger/) so it now needs to be added as an
explicit dependency.
Without this, it will raise the following warning:
warning: logger used to be loaded from the standard library, but is
not part of the default gems since Ruby 4.0.0.
You can add logger to your Gemfile or gemspec to fix this error.1 parent 1aba5a1 commit a14464e
2 files changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
1 | 7 | | |
2 | 8 | | |
3 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
0 commit comments