From 316f09bc984fbddcf435455103127ec26830aaad 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. --- Gemfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Gemfile b/Gemfile index 6f17097117..7c8f3dc18c 100644 --- a/Gemfile +++ b/Gemfile @@ -65,3 +65,11 @@ gem "dartsass-rails", "~> 0.5.0" gem "propshaft", "~> 1.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" + + # Necessary for Rails 7.0, rspec-rails and Ruby 3.4 + gem "drb", "~> 2.2" +end