mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
Show destination directory after installation
Due to the length of the list of gems to install, the message at the beginning of the installation scrolls out.
This commit is contained in:
parent
07a8d02c0c
commit
733c72e6f0
@ -1205,7 +1205,6 @@ installs = $install.map do |inst|
|
||||
end
|
||||
installs.flatten!
|
||||
installs -= $exclude.map {|exc| $install_procs[exc]}.flatten
|
||||
puts "Installing to #$destdir" unless installs.empty?
|
||||
installs.each do |block|
|
||||
dir = Dir.pwd
|
||||
begin
|
||||
@ -1214,5 +1213,9 @@ installs.each do |block|
|
||||
Dir.chdir(dir)
|
||||
end
|
||||
end
|
||||
unless installs.empty? or $destdir.empty?
|
||||
require_relative 'lib/colorize'
|
||||
puts "Installed under #{Colorize.new.info($destdir)}"
|
||||
end
|
||||
|
||||
# vi:set sw=2:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user