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
2 parents 51c898b + 7389032 commit f8c8880
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Gemfile
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 f8c8880

Please sign in to comment.