From 8b1f8cc9e6981c8e2102415985f20f41d151197d Mon Sep 17 00:00:00 2001 From: Petr Heinz Date: Tue, 29 Sep 2026 12:35:11 +0200 Subject: [PATCH 1/2] CI: add Ruby 4.0 to the matrix Expected to fail, like the truffleruby job already does: logger is no longer a default gem there and the released logtail gem does not declare it. Co-Authored-By: Claude Fable 5.1 --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8ee7c42..2e5536d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,6 +17,7 @@ jobs: fail-fast: false matrix: ruby-version: + - "4.0" - "3" - "3.4" - "3.3" From ff5f48ce4d9271dd5a3ce27fa0d714ac9bc81cad Mon Sep 17 00:00:00 2001 From: Petr Heinz Date: Tue, 29 Sep 2026 12:36:54 +0200 Subject: [PATCH 2/2] Bundle the logger gem for Ruby 4.0 and TruffleRuby 40 logger is no longer a default gem there and logtail 0.1.17 requires it without declaring it. The line can go once a logtail release declares the dependency. Co-Authored-By: Claude Fable 5.1 --- Gemfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Gemfile b/Gemfile index 82cfbfb..7aef0bb 100644 --- a/Gemfile +++ b/Gemfile @@ -3,3 +3,5 @@ source "https://rubygems.org" gemspec gem "base64" if RUBY_VERSION >= "3.4.0" +# No longer a default gem on Ruby 4.0 and TruffleRuby 40, and logtail 0.1.17 requires it undeclared +gem "logger"