ruby-changes:8430
From: yugui <ko1@a...>
Date: Mon, 27 Oct 2008 12:14:09 +0900 (JST)
Subject: [ruby-changes:8430] Ruby:r19961 (trunk): * test/ruby/envutil.rb: reverted the changeset 19948 because it
yugui 2008-10-27 12:13:54 +0900 (Mon, 27 Oct 2008) New Revision: 19961 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=19961 Log: * test/ruby/envutil.rb: reverted the changeset 19948 because it concealed unexpected behaviours of ruby. * test/ruby/test_io.rb: ditto. Modified files: trunk/ChangeLog trunk/test/ruby/envutil.rb trunk/test/ruby/test_io.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 19960) +++ ChangeLog (revision 19961) @@ -1,3 +1,10 @@ +Mon Oct 27 12:04:58 2008 Yuki Sonoda (Yugui) <yugui@y...> + + * test/ruby/envutil.rb: reverted the changeset 19948 because it + concealed unexpected behaviours of ruby. + + * test/ruby/test_io.rb: ditto. + Mon Oct 27 12:02:53 2008 Kazuhiro NISHIYAMA <zn@m...> * ext/nkf/nkf.c (rb_nkf_convert): should specify type of variable. Index: test/ruby/test_io.rb =================================================================== --- test/ruby/test_io.rb (revision 19960) +++ test/ruby/test_io.rb (revision 19961) @@ -581,7 +581,7 @@ 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? Index: test/ruby/envutil.rb =================================================================== --- test/ruby/envutil.rb (revision 19960) +++ test/ruby/envutil.rb (revision 19961) @@ -122,7 +122,7 @@ c = "C" env = {} LANG_ENVS.each {|lc| env[lc], ENV[lc] = ENV[lc], c} - pid = spawn(EnvUtil.rubybin, "--disable-gems", *args, STDIN=>in_c, STDOUT=>out_c, STDERR=>err_c) + pid = spawn(EnvUtil.rubybin, *args, STDIN=>in_c, STDOUT=>out_c, STDERR=>err_c) in_c.close out_c.close err_c.close -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/