Skip to content

Commit

Permalink
Merge pull request #1561 from rspec/fix-diff-lcs-build
Browse files Browse the repository at this point in the history
Run older diff-lcs on older version of activesupport
  • Loading branch information
JonRowe authored Dec 26, 2023
2 parents 15599ee + 0f039b8 commit 103475e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ end

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

platforms :jruby do
Expand Down

0 comments on commit 103475e

Please sign in to comment.