aboutsummaryrefslogtreecommitdiffstats
path: root/test/webrick
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-20 02:41:09 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-20 02:41:09 +0000
commita9f76259cee5a52ae02ca3baa11eb5a896ac6393 (patch)
tree90615213f6b1f2092da23bd44c97eb2d863af4c0 /test/webrick
parent74b0a7a06f62216d46ccb1ae53b2c52121622809 (diff)
downloadruby-a9f76259cee5a52ae02ca3baa11eb5a896ac6393.tar.gz
* test/webrick/utils.rb (TestWEBrick::RubyBin): test CGI does not need
to load rubygems. if it activated, ruby raises LoadError about rbconfig.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/webrick')
-rw-r--r--test/webrick/utils.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/webrick/utils.rb b/test/webrick/utils.rb
index ebc936cb2c..ef4654cafd 100644
--- a/test/webrick/utils.rb
+++ b/test/webrick/utils.rb
@@ -14,6 +14,7 @@ module TestWEBrick
end
RubyBin = "\"#{EnvUtil.rubybin}\""
+ RubyBin << " --disable-gems"
RubyBin << " \"-I#{File.expand_path("../..", File.dirname(__FILE__))}/lib\""
RubyBin << " \"-I#{File.dirname(EnvUtil.rubybin)}/.ext/common\""
RubyBin << " \"-I#{File.dirname(EnvUtil.rubybin)}/.ext/#{RUBY_PLATFORM}\""