summaryrefslogtreecommitdiff
path: root/test/webrick/utils.rb
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/utils.rb
parent74b0a7a06f62216d46ccb1ae53b2c52121622809 (diff)
* 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/utils.rb')
-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 ebc936c..ef4654c 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}\""