diff options
author | Nobuyoshi Nakada <[email protected]> | 2023-01-18 23:42:18 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2023-01-18 23:55:25 +0900 |
commit | 03f5db01e6be9b522d6fbbfb54f07d168c1a3a34 () | |
tree | c86d37fc46771910e59251957caf8f1b4f10ea99 /tool/rbinstall.rb | |
parent | 8e53f09baaec292e399afba5631a83cefbd63fd8 (diff) |
Make installation messages verbose a little [ci skip]
-rwxr-xr-x | tool/rbinstall.rb | 23 |
1 files changed, 19 insertions, 4 deletions
@@ -999,6 +999,7 @@ install?(:ext, :comm, :gem, :'bundled-gems') do end installed_gems = {} options = { :install_dir => install_dir, :bin_dir => with_destdir(bindir), @@ -1029,11 +1030,20 @@ install?(:ext, :comm, :gem, :'bundled-gems') do path = "#{srcdir}/.bundle/specifications/#{gem_name}.gemspec" unless File.exist?(path) path = "#{srcdir}/.bundle/gems/#{gem_name}/#{gem_name}.gemspec" - next unless File.exist?(path) end spec = load_gemspec(path, "#{srcdir}/.bundle/gems/#{gem_name}") - next unless spec.platform == Gem::Platform::RUBY - next unless spec.full_name == gem_name spec.extension_dir = "#{extensions_dir}/#{spec.full_name}" package = RbInstall::DirPackage.new spec ins = RbInstall::UnpackedInstaller.new(package, options) @@ -1051,7 +1061,11 @@ install?(:ext, :comm, :gem, :'bundled-gems') do install installed_gems, gem_dir+"/cache" end unless gems.empty? - puts "skipped bundled gems: #{gems.join(' ')}" end end @@ -1071,6 +1085,7 @@ installs = $install.map do |inst| end installs.flatten! installs -= $exclude.map {|exc| $install_procs[exc]}.flatten installs.each do |block| dir = Dir.pwd begin |