diff --git a/lib/simplecov.rb b/lib/simplecov.rb index b6ab4b6d..4d4ccfff 100644 --- a/lib/simplecov.rb +++ b/lib/simplecov.rb @@ -50,7 +50,9 @@ class << self def start(profile = nil, &block) require "coverage" initial_setup(profile, &block) - require_relative "./simplecov/process" if SimpleCov.enabled_for_subprocesses? + require_relative "./simplecov/process" if SimpleCov.enabled_for_subprocesses? && + ::Process.respond_to?(:fork) + make_parallel_tests_available @result = nil