lib/parallel_tests/gherkin/runner.rb in parallel_tests-2.16.0 vs lib/parallel_tests/gherkin/runner.rb in parallel_tests-2.16.1
- old
+ new
@@ -98,14 +98,14 @@
end
def determine_executable
case
when File.exist?("bin/#{name}")
- "bin/#{name}"
+ ParallelTests.with_ruby_binary("bin/#{name}")
when ParallelTests.bundler_enabled?
"bundle exec #{name}"
when File.file?("script/#{name}")
- "script/#{name}"
+ ParallelTests.with_ruby_binary("script/#{name}")
else
"#{name}"
end
end