Skip to content

Conversation

@mattbrictson
Copy link
Member

Using sshkit on Ruby 3.4 causes the following warning to be printed:

warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
You can add logger to your Gemfile or gemspec to silence this warning.

To avoid this warning, and to allow sshkit to work on Ruby 3.5+, this commit adds the logger gem as a runtime dependency to sshkit.

Using sshkit on Ruby 3.4 causes the following warning to be printed:

> warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
> You can add logger to your Gemfile or gemspec to silence this warning.

To avoid this warning, and to allow sshkit to work on Ruby 3.5+, this
commit adds the `logger` gem as a runtime dependency to sshkit.
@mattbrictson mattbrictson added the 🐛 Bug Fix Fixes a bug label Feb 2, 2025
@mattbrictson mattbrictson changed the title Add logger runtime dependency to fix warning on Ruby 3.4 Add logger runtime dependency to fix warning on Ruby 3.4 Feb 3, 2025
@mattbrictson mattbrictson merged commit a474fc2 into master Feb 3, 2025
15 checks passed
@mattbrictson mattbrictson deleted the bugs/add-logger-dep branch February 3, 2025 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐛 Bug Fix Fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants