From 0a88cb504baf9d4c483de63b7efa33d58ff4bdcc Mon Sep 17 00:00:00 2001 From: yugui Date: Mon, 27 Oct 2008 03:13:54 +0000 Subject: * test/ruby/envutil.rb: reverted the changeset 19948 because it concealed unexpected behaviours of ruby. * test/ruby/test_io.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_io.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby/test_io.rb') diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index 2b6810e055..4d9bb51fe3 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -581,7 +581,7 @@ class TestIO < Test::Unit::TestCase def ruby(*args) args = ['-e', '$>.write($<.read)'] if args.empty? ruby = EnvUtil.rubybin - f = IO.popen([ruby, "--disable-gems"] + args, 'r+') + f = IO.popen([ruby] + args, 'r+') yield(f) ensure f.close unless !f || f.closed? -- cgit v1.2.3