aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-10 01:21:44 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-10 01:21:44 +0000
commit1734e481afd6de3a83a3d692259444f67e70077a (patch)
treef1550c3d87c43892aeeab314792fd5d79f337e9a
parent71110cb745abfa54df51f305f2481f23a5925f09 (diff)
downloadruby-1734e481afd6de3a83a3d692259444f67e70077a.tar.gz
* 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
-rw-r--r--ChangeLog7
-rwxr-xr-xtool/rbinstall.rb5
2 files changed, 12 insertions, 0 deletions
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 <naruse@ruby-lang.org>
+
+ * 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@segment7.net>
* 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