Commit 6ddf4d6
fix: add explicit dependency on logger for Ruby 4 (#2837)
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.
Co-authored-by: Peter Solnica <peter@solnica.online>1 parent 9a0dba3 commit 6ddf4d6
2 files changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | 8 | | |
5 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
0 commit comments