Reduced gem_prelude to just require rubygems. Reviewed by Evan Phoenix

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ryan 2011-01-14 02:02:12 +00:00
parent 8409156e24
commit f52c2cc24d
10 changed files with 40 additions and 277 deletions

View file

@ -1210,8 +1210,8 @@ class TestProcess < Test::Unit::TestCase
Dir.chdir("vd") {
dir = "#{d}/vd"
# OpenSolaris cannot remove the current directory.
system(RUBY, "-e", "Dir.chdir '..'; Dir.rmdir #{dir.dump}")
system({"RUBYLIB"=>nil}, RUBY, "-e", "exit true")
system(RUBY, "--disable-gems", "-e", "Dir.chdir '..'; Dir.rmdir #{dir.dump}")
system({"RUBYLIB"=>nil}, RUBY, "--disable-gems", "-e", "exit true")
status = $?
}
assert(status.success?, "[ruby-dev:38105]")