зеркало из https://github.com/github/ruby.git
Gem::Installer.new(String, options) is obsoleted. Explicitly converted
to Gem::Package from String instance.
This commit is contained in:
Родитель
600a715c9b
Коммит
f8df531bbf
|
@ -904,7 +904,8 @@ install?(:ext, :comm, :gem, :'bundled-gems') do
|
|||
Gem.instance_variable_set(:@ruby, with_destdir(File.join(bindir, ruby_install_name)))
|
||||
silent = Gem::SilentUI.new
|
||||
gems.each do |gem|
|
||||
inst = Gem::Installer.new(gem, options)
|
||||
package = Gem::Package.new(gem)
|
||||
inst = Gem::Installer.new(package, options)
|
||||
inst.spec.extension_dir = with_destdir(inst.spec.extension_dir)
|
||||
begin
|
||||
Gem::DefaultUserInteraction.use_ui(silent) {inst.install}
|
||||
|
|
Загрузка…
Ссылка в новой задаче