From 1734e481afd6de3a83a3d692259444f67e70077a Mon Sep 17 00:00:00 2001 From: naruse Date: Wed, 10 Jul 2013 01:21:44 +0000 Subject: [PATCH] * 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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 7 +++++++ tool/rbinstall.rb | 5 +++++ 2 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index e07f69817f..85c7cbebf3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Wed Jul 10 10:20:07 2013 NARUSE, Yui + + * 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 * lib/rubygems: Import RubyGems 2.1 diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb index 1063facbae..29866dfffd 100755 --- a/tool/rbinstall.rb +++ b/tool/rbinstall.rb @@ -18,6 +18,7 @@ require 'shellwords' require 'optparse' require 'optparse/shellwords' require 'ostruct' +require 'rubygems' STDOUT.sync = true File.umask(0) @@ -581,6 +582,10 @@ Gem::Specification.new do |s| end GEMSPEC end + + def self.unresolved_deps + [] + end end end