Skip to content

Conversation

@y-yagi
Copy link
Contributor

@y-yagi y-yagi commented Jan 19, 2025

logger will be a bundled gem from Ruby 3.5.
https://bugs.ruby-lang.org/issues/20309

So if we use logger as the standard library, Bundler shows the following warning.

/home/y-yagi/.rbenv/versions/3.4.1/lib/ruby/gems/3.4.0/gems/listen-3.9.0/lib/listen.rb:3: warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.

This PR adds the logger to runtime dependency to fix the warning.

@y-yagi
Copy link
Contributor Author

y-yagi commented Jan 19, 2025

The linting is failed. I will fix it with #588.

`logger` will be a bundled gem from Ruby 3.5.
https://bugs.ruby-lang.org/issues/20309

So if we use `logger` as the standard library, Bundler shows the
following warning.

```
/home/y-yagi/.rbenv/versions/3.4.1/lib/ruby/gems/3.4.0/gems/listen-3.9.0/lib/listen.rb:3: warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
```

This PR adds the `logger` to runtime dependency to fix the warning.
@y-yagi y-yagi force-pushed the add_logger_as_dependency branch from e12da30 to 3b4722b Compare January 24, 2025 12:10
@rymai
Copy link
Member

rymai commented Jan 24, 2025

Thanks!

@rymai rymai merged commit f6cceaa into guard:master Jan 24, 2025
16 checks passed
@mattbrictson mattbrictson mentioned this pull request Oct 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants