From 67adb9ada414dd8712b4c4d45e393f58201944a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20Bo=CC=88ning?= Date: Wed, 22 Jan 2025 12:51:52 +0100 Subject: [PATCH] fix missing logger issue in github actions concurrent-ruby removed the logger dependency in 1.3.5 and therefore breaking applications using rails v6.1 up to including v7.0. Explicitly setting concurrent-ruby to not upgrade beyond v1.3.4 fixes the issue. --- Gemfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Gemfile b/Gemfile index e0e53dd282..b578b575b7 100644 --- a/Gemfile +++ b/Gemfile @@ -32,6 +32,13 @@ group :development, :test do if rails_version == "7.1" gem "actioncable", "~> #{rails_version}.0" end + + # concurrent-ruby v1.3.5 has removed the dependency on logger, + # effecting Rails 6.1 up to including 7.0. + # https://github.com/rails/rails/pull/54264 + if ("6.1".to_f.."7.0".to_f).cover?(rails_version.to_f) + gem "concurrent-ruby", "< 1.3.5" + end else gem "launchy" gem "annotate"