Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 4816119

Browse files
committed
Merge pull request #1561 from rspec/fix-diff-lcs-build
Run older diff-lcs on older version of activesupport
1 parent f9e8dd0 commit 4816119

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ end
9191

9292
if RUBY_VERSION < '2.0.0'
9393
gem 'cucumber', "<= 1.3.22"
94+
elsif !ENV['DIFF_LCS_VERSION'].to_s.empty? && ENV['DIFF_LCS_VERSION'].scan(/\d\.\d/).first.to_f < 1.5
95+
# Older version of diff-lcs cause a downstream error with cucumber and modern rails
96+
gem "activesupport", "< 7"
9497
end
9598

9699
platforms :jruby do

0 commit comments

Comments
 (0)