Skip to content

Commit

Permalink
Merge pull request #3058 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 committed Dec 26, 2023
1 parent 0cc9d87 commit 8d6b691
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 @@ -96,6 +96,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

gem 'contracts', '< 0.16' if RUBY_VERSION < '1.9.0'
Expand Down

0 comments on commit 8d6b691

Please sign in to comment.