From bc580d1e9ef3098f5ac4004f01814dbf5ad190a0 Mon Sep 17 00:00:00 2001 From: Thomas von Deyen Date: Sat, 14 Dec 2024 18:47:04 +0100 Subject: [PATCH] Add mutex_m & drb Gems for Rails 7.0 and Ruby 3.4 mutex_m and drb are not part of the defaults Gems in Ruby 3.4 anymore. Since Rails 7.0 and rspec-rails depend on them, we add it to the local dev Gemfile. (cherry picked from commit 51ad85b4c07ee7b77d6fa5798ead62e86eb84c4f) --- Gemfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Gemfile b/Gemfile index 82d8747a1b..4cbc595cc7 100644 --- a/Gemfile +++ b/Gemfile @@ -69,3 +69,10 @@ gem "rails_live_reload", "~> 0.3.5" gem "dartsass-rails", "~> 0.5.0" gem "gem-release", "~> 2.2" + +if rails_version == "7.0" + # Necessary for Rails 7.0 and Ruby 3.4 + gem "mutex_m", "~> 0.3", require: false + # Necessary for Rails 7.0, rspec-rails and Ruby 3.4 + gem "drb", "~> 2.2", require: false +end