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

Commit b2df62e

Browse files
authored
Merge pull request #2664 from rspec/fix-build-by-pinning-minitest
Pin minitest on older Rubies
2 parents 8a287bd + b64d67b commit b2df62e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Gemfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,12 @@ end
6464

6565
gem 'test-unit', '~> 3.0' if RUBY_VERSION.to_f >= 2.2
6666

67+
# Version 5.12 of minitest requires Ruby 2.4
68+
if RUBY_VERSION < '2.4.0'
69+
gem 'minitest', '< 5.12.0'
70+
end
71+
72+
6773
gem 'contracts', '< 0.16' if RUBY_VERSION < '1.9.0'
6874

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

0 commit comments

Comments
 (0)