summaryrefslogtreecommitdiff
path: root/tool/rbinstall.rb
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 /tool/rbinstall.rb
parent71110cb745abfa54df51f305f2481f23a5925f09 (diff)
* 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
Diffstat (limited to 'tool/rbinstall.rb')
-rwxr-xr-xtool/rbinstall.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb
index 1063fac..29866df 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