Skip to content

Commit

Permalink
Add logger gem as a dependency (#1296)
Browse files Browse the repository at this point in the history
I saw this deprecation warning on Ruby 3.3 about the logger gem no
longer being included as a standard gem from Ruby 3.5 onward.
Add it to the dependencies to fix the warning.

> appsignal.rb:7: 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.
  • Loading branch information
tombruijn authored Sep 13, 2024
1 parent 3b83934 commit 8c1d577
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changesets/add-logger-as-dependency.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
bump: patch
type: change
---

Add the logger gem as a dependency. This fixes the deprecation warning on Ruby 3.3.
1 change: 1 addition & 0 deletions appsignal.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ Gem::Specification.new do |gem| # rubocop:disable Metrics/BlockLength
"source_code_uri" => "https://github.com/appsignal/appsignal-ruby"
}

gem.add_dependency "logger"
gem.add_dependency "rack"

gem.add_development_dependency "pry"
Expand Down

0 comments on commit 8c1d577

Please sign in to comment.