From e6f41270310d1da8435b3edb526cfde40db5ce6d Mon Sep 17 00:00:00 2001 From: Luke Hill Date: Fri, 13 Oct 2023 12:18:46 +0100 Subject: [PATCH] Manually overload the matrix require until 3.36+ of capybara is the min --- lib/cucumber/rails.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/cucumber/rails.rb b/lib/cucumber/rails.rb index 7722dcc3..7c92a3fe 100644 --- a/lib/cucumber/rails.rb +++ b/lib/cucumber/rails.rb @@ -7,6 +7,7 @@ require 'rails' require 'cucumber/rails/application' + require 'matrix' # Until we drop capybara 3.36 and below ENV['RAILS_ENV'] ||= 'test' ENV['RAILS_ROOT'] ||= File.expand_path("#{env_caller}/../..") require File.expand_path("#{ENV.fetch('RAILS_ROOT')}/config/environment")