Skip to content

Commit 6698b58

Browse files
committed
Clear gem paths for each test
So that rubygems can find the bundled rake.
1 parent 088132f commit 6698b58

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tool/lib/test/unit/parallel.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ def _run_suite(suite, type) # :nodoc:
8787
$stdout = orig_stdout if orig_stdout
8888
o.close if o && !o.closed?
8989
i.close if i && !i.closed?
90+
91+
Gem.clear_paths if defined?(Gem)
9092
end
9193

9294
def run(args = []) # :nodoc:

0 commit comments

Comments
 (0)