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

Commit 58504da

Browse files
committed
wip
1 parent 4a724e0 commit 58504da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rspec/support/ruby_features.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def truffleruby?
6060
module RubyFeatures
6161
module_function
6262

63-
if Ruby.jruby?
63+
if Ruby.jruby? && RUBY_VERSION.to_f < 1.9
6464
# On JRuby 1.7 `--1.8` mode, `Process.respond_to?(:fork)` returns true,
6565
# but when you try to fork, it raises an error:
6666
# NotImplementedError: fork is not available on this platform

0 commit comments

Comments
 (0)