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

Commit 6553911

Browse files
authored
Merge pull request #412 from rspec/fix-build
Pin childprocess on older rubies
2 parents e264cda + a816ca1 commit 6553911

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Gemfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,14 @@ else
2121
gem 'rake', '>= 12.3.3'
2222
end
2323

24+
if RUBY_VERSION < '2.2.0' && !!(RbConfig::CONFIG['host_os'] =~ /cygwin|mswin|mingw|bccwin|wince|emx/)
25+
gem "childprocess", "< 1.0.0"
26+
elsif RUBY_VERSION < '2.3.0'
27+
gem "childprocess", "< 3.0.0"
28+
else
29+
gem "childprocess", ">= 3.0.0"
30+
end
31+
2432
### dep for ci/coverage
2533
gem 'simplecov', '~> 0.8'
2634

0 commit comments

Comments
 (0)