lib/simplecov.rb in simplecov-0.19.0 vs lib/simplecov.rb in simplecov-0.19.1

- old
+ new

@@ -48,10 +48,12 @@ # Please check out the RDoc for SimpleCov::Configuration to find about available config options # 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 self.pid = Process.pid