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

ruby-changes:24197

From: naruse <ko1@a...>
Date: Fri, 29 Jun 2012 05:12:39 +0900 (JST)
Subject: [ruby-changes:24197] naruse:r36247 (trunk): * lib/test/unit/parallel.rb: workaround fix for rubygems.

naruse	2012-06-29 05:11:19 +0900 (Fri, 29 Jun 2012)

  New Revision: 36247

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

  Log:
    * lib/test/unit/parallel.rb: workaround fix for rubygems.
      RubyGems can't find rake if the source directory is not equal to
      the directory which is running the test. [Bug #6604]

  Modified files:
    trunk/ChangeLog
    trunk/lib/test/unit/parallel.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 36246)
+++ ChangeLog	(revision 36247)
@@ -1,3 +1,9 @@
+Fri Jun 29 05:08:41 2012  NARUSE, Yui  <naruse@r...>
+
+	* lib/test/unit/parallel.rb: workaround fix for rubygems.
+	  RubyGems can't find rake if the source directory is not equal to
+	  the directory which is running the test. [Bug #6604]
+
 Thu Jun 28 20:33:15 2012  Luis Lavena  <luislavena@g...>
 
 	* test/win32ole/test_win32ole.rb (test_s_codepage_changed):
Index: lib/test/unit/parallel.rb
===================================================================
--- lib/test/unit/parallel.rb	(revision 36246)
+++ lib/test/unit/parallel.rb	(revision 36247)
@@ -169,6 +169,10 @@
       end
     end
   end
+  require 'rubygems'
+  class Gem::TestCase < MiniTest::Unit::TestCase
+    @@project_dir = File.expand_path('../../../..', __FILE__)
+  end
 
   Test::Unit::Worker.new.run(ARGV)
 end

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

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