From 5f6e1b1d3f81e60a286fc6c34eff7f42e88f5b13 Mon Sep 17 00:00:00 2001 From: fallwith Date: Mon, 12 Aug 2024 16:01:18 -0700 Subject: [PATCH] CI: delayed_job / Rails v7.2.0 fix fix a securerandom dependency issue now that Rails v7.2.0 has dropped and ActiveSupport requires it --- test/multiverse/suites/delayed_job/Envfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/multiverse/suites/delayed_job/Envfile b/test/multiverse/suites/delayed_job/Envfile index b99f536681..3a7e8a59fc 100644 --- a/test/multiverse/suites/delayed_job/Envfile +++ b/test/multiverse/suites/delayed_job/Envfile @@ -24,8 +24,13 @@ def bigdecimal end end +# delayed_job depends on activesupport and activesupport >= v7.2.0 will +# depend on securerandom >= 0.3, which may conflict with the "already activated" +# (built in for Ruby < v3.4.0) version of securerandom, so just declare a +# top-level >= 0.3 dependency. boilerplate_gems = <<~SQLITE gem 'rack' + gem 'securerandom', '>= 0.3' #{sqlite} #{bigdecimal}