Skip to content

Commit

Permalink
Run older diff-lcs on older version of activesupport
Browse files Browse the repository at this point in the history
  • Loading branch information
JonRowe committed Dec 26, 2023
1 parent 60b17cf commit 1ee61c2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Gemfile
Expand Up @@ -98,6 +98,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

eval File.read('Gemfile-custom') if File.exist?('Gemfile-custom')

0 comments on commit 1ee61c2

Please sign in to comment.