summaryrefslogtreecommitdiff
path: root/spec/rubyspec/core/process/fixtures/common.rb
diff options
context:
space:
mode:
authoreregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-10 14:35:38 +0000
committereregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-10 14:35:38 +0000
commitd81b7cd54ce095c7acef85e47d7ca487ab2ea5a5 (patch)
tree809bea8bb7c61891132af5dbd651c65fb72c1922 /spec/rubyspec/core/process/fixtures/common.rb
parentd655f8c592bc5355cad2216cdca8a52d4f8aea6d (diff)
Use environment values to find ruby and flags instead of an argument
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/rubyspec/core/process/fixtures/common.rb')
-rw-r--r--spec/rubyspec/core/process/fixtures/common.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/rubyspec/core/process/fixtures/common.rb b/spec/rubyspec/core/process/fixtures/common.rb
index abfd05bb18..046efa5396 100644
--- a/spec/rubyspec/core/process/fixtures/common.rb
+++ b/spec/rubyspec/core/process/fixtures/common.rb
@@ -46,7 +46,6 @@ module ProcessSpecs
Thread.current.abort_on_exception = true
args = [@pid_file]
args << scenario if scenario
- args << RUBY_EXE.inspect if scenario
@result = ruby_exe @script, args: args
end
Thread.pass while @thread.status and !File.exist?(@pid_file)