* 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
This commit is contained in:
naruse 2013-07-10 01:21:44 +00:00
Родитель 71110cb745
Коммит 1734e481af
2 изменённых файлов: 12 добавлений и 0 удалений

Просмотреть файл

@ -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

Просмотреть файл

@ -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