[前][次][番号順一覧][スレッド一覧]

ruby-changes:18587

From: usa <ko1@a...>
Date: Thu, 20 Jan 2011 11:42:38 +0900 (JST)
Subject: [ruby-changes:18587] Ruby:r30611 (trunk): * test/webrick/utils.rb (TestWEBrick::RubyBin): test CGI does not need

usa	2011-01-20 11:41:09 +0900 (Thu, 20 Jan 2011)

  New Revision: 30611

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30611

  Log:
    * test/webrick/utils.rb (TestWEBrick::RubyBin): test CGI does not need
      to load rubygems.  if it activated, ruby raises LoadError about
      rbconfig.rb.

  Modified files:
    trunk/ChangeLog
    trunk/test/webrick/utils.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 30610)
+++ ChangeLog	(revision 30611)
@@ -1,3 +1,9 @@
+Thu Jan 20 11:39:41 2011  NAKAMURA Usaku  <usa@r...>
+
+	* test/webrick/utils.rb (TestWEBrick::RubyBin): test CGI does not need
+	  to load rubygems.  if it activated, ruby raises LoadError about
+	  rbconfig.rb.
+
 Thu Jan 20 09:19:42 2011  Aaron Patterson <aaron@t...>
 
 	* ext/psych/lib/psych/visitors/json_tree.rb: Fix JSON emit for
Index: test/webrick/utils.rb
===================================================================
--- test/webrick/utils.rb	(revision 30610)
+++ test/webrick/utils.rb	(revision 30611)
@@ -14,6 +14,7 @@
   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}\""

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]