lib/tapioca/helpers/test/isolation.rb in tapioca-0.6.4 vs lib/tapioca/helpers/test/isolation.rb in tapioca-0.7.0
- old
+ new
@@ -98,10 +98,10 @@
$-I.each do |p|
load_path_args << "-I"
load_path_args << File.expand_path(p)
end
- child = IO.popen([env, Gem.ruby, *load_path_args, $PROGRAM_NAME, *ORIG_ARGV, test_opts])
+ child = IO.popen([env, ::Gem.ruby, *load_path_args, $PROGRAM_NAME, *ORIG_ARGV, test_opts])
begin
Process.wait(child.pid)
rescue Errno::ECHILD # The child process may exit before we wait
nil