From a9f76259cee5a52ae02ca3baa11eb5a896ac6393 Mon Sep 17 00:00:00 2001 From: usa Date: Thu, 20 Jan 2011 02:41:09 +0000 Subject: * 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 --- test/webrick/utils.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test/webrick/utils.rb') 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}\"" -- cgit v1.2.3