ruby-changes:59894
From: Hiroshi <ko1@a...>
Date: Sat, 1 Feb 2020 11:24:37 +0900 (JST)
Subject: [ruby-changes:59894] f8df531bbf (master): Gem::Installer.new(String, options) is obsoleted. Explicitly converted
https://git.ruby-lang.org/ruby.git/commit/?id=f8df531bbf From f8df531bbf4ae662fe6de2cf210a274c97d76bf3 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Sat, 1 Feb 2020 11:23:34 +0900 Subject: Gem::Installer.new(String, options) is obsoleted. Explicitly converted to Gem::Package from String instance. diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb index e5c34b5..d13607f 100755 --- a/tool/rbinstall.rb +++ b/tool/rbinstall.rb @@ -904,7 +904,8 @@ install?(:ext, :comm, :gem, :'bundled-gems') do https://github.com/ruby/ruby/blob/trunk/tool/rbinstall.rb#L904 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} -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/