1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/ruby/envutil.rb (assert_in_out_err): disables builtin rubygems

to get rid of the interference.

* test/ruby/test_io.rb (ruby): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2008-10-26 09:42:21 +00:00
parent bcf61f58d5
commit b98a6b7ac0
3 changed files with 8 additions and 3 deletions

View file

@ -122,7 +122,7 @@ module Test
c = "C"
env = {}
LANG_ENVS.each {|lc| env[lc], ENV[lc] = ENV[lc], c}
pid = spawn(EnvUtil.rubybin, *args, STDIN=>in_c, STDOUT=>out_c, STDERR=>err_c)
pid = spawn(EnvUtil.rubybin, "--disable-gems", *args, STDIN=>in_c, STDOUT=>out_c, STDERR=>err_c)
in_c.close
out_c.close
err_c.close