summaryrefslogtreecommitdiff
path: root/tool/rbinstall.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/rbinstall.rb')
-rwxr-xr-xtool/rbinstall.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb
index 65c0de7..cec3b57 100755
--- a/tool/rbinstall.rb
+++ b/tool/rbinstall.rb
@@ -679,6 +679,12 @@ end
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)