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

ruby-changes:29825

From: naruse <ko1@a...>
Date: Wed, 10 Jul 2013 10:22:00 +0900 (JST)
Subject: [ruby-changes:29825] naruse:r41877 (trunk): * tool/rbinstall.rb: always require rubygems to stabilize rubygems

naruse	2013-07-10 10:21:44 +0900 (Wed, 10 Jul 2013)

  New Revision: 41877

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

  Log:
    * tool/rbinstall.rb: always require rubygems to stabilize rubygems
      related status like whether Gem::Specification is defined or not.
    
    * tool/rbinstall.rb (Gem::Specification.unresolved_deps): define stub.

  Modified files:
    trunk/ChangeLog
    trunk/tool/rbinstall.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 41876)
+++ ChangeLog	(revision 41877)
@@ -1,3 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Jul 10 10:20:07 2013  NARUSE, Yui  <naruse@r...>
+
+	* tool/rbinstall.rb: always require rubygems to stabilize rubygems
+	  related status like whether Gem::Specification is defined or not.
+
+	* tool/rbinstall.rb (Gem::Specification.unresolved_deps): define stub.
+
 Wed Jul 10 08:21:15 2013  Eric Hodel  <drbrain@s...>
 
 	* lib/rubygems:  Import RubyGems 2.1
Index: tool/rbinstall.rb
===================================================================
--- tool/rbinstall.rb	(revision 41876)
+++ tool/rbinstall.rb	(revision 41877)
@@ -18,6 +18,7 @@ require 'shellwords' https://github.com/ruby/ruby/blob/trunk/tool/rbinstall.rb#L18
 require 'optparse'
 require 'optparse/shellwords'
 require 'ostruct'
+require 'rubygems'
 
 STDOUT.sync = true
 File.umask(0)
@@ -581,6 +582,10 @@ Gem::Specification.new do |s| https://github.com/ruby/ruby/blob/trunk/tool/rbinstall.rb#L582
 end
         GEMSPEC
     end
+
+    def self.unresolved_deps
+      []
+    end
   end
 end
 

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

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