Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add logger runtime dependency to fix warning on Ruby 3.4 #552

Merged
merged 1 commit into from
Feb 3, 2025

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.

2 participants