ruby-changes:38099
From: nobu <ko1@a...>
Date: Wed, 8 Apr 2015 01:05:51 +0900 (JST)
Subject: [ruby-changes:38099] nobu:r50180 (trunk): rbinstall.rb: no post install messages
nobu 2015-04-08 01:05:32 +0900 (Wed, 08 Apr 2015) New Revision: 50180 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50180 Log: rbinstall.rb: no post install messages * tool/rbinstall.rb: suppress post install messages of rdoc for older ruby versions. Modified files: trunk/tool/rbinstall.rb Index: tool/rbinstall.rb =================================================================== --- tool/rbinstall.rb (revision 50179) +++ tool/rbinstall.rb (revision 50180) @@ -679,6 +679,12 @@ end https://github.com/ruby/ruby/blob/trunk/tool/rbinstall.rb#L679 end class Gem::Installer + install = instance_method(:install) + define_method(:install) do + spec.post_install_message = nil + install.bind(self).call + end + generate_bin_script = instance_method(:generate_bin_script) define_method(:generate_bin_script) do |filename, bindir| generate_bin_script.bind(self).call(filename, bindir) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/