This restores `gem spec` command output and therefore fixes build of rubygem- packages. https://github.com/rubygems/rubygems/issues/7082
24 lines
1.1 KiB
Diff
24 lines
1.1 KiB
Diff
From f0b10ff12a6de98b8e1f787f79d4a0f0e995bf40 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch@redhat.com>
|
|
Date: Tue, 24 Oct 2023 12:57:32 +0200
|
|
Subject: [PATCH] Disable "user installation" info message.
|
|
|
|
This is reported by every command (at least in build root), pollutes
|
|
their output and therefore breaks things.
|
|
---
|
|
lib/rubygems/command.rb | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/lib/rubygems/command.rb b/lib/rubygems/command.rb
|
|
index 01deac6890..4f82a2755a 100644
|
|
--- a/lib/rubygems/command.rb
|
|
+++ b/lib/rubygems/command.rb
|
|
@@ -324,7 +324,7 @@ def invoke_with_build_args(args, build_args)
|
|
@when_invoked.call options
|
|
else
|
|
if Gem.paths.auto_user_install && !options[:install_dir] && !options[:user_install]
|
|
- self.ui.say "Defaulting to user installation because default installation directory (#{Gem.default_dir}) is not writable."
|
|
+ # self.ui.say "Defaulting to user installation because default installation directory (#{Gem.default_dir}) is not writable."
|
|
end
|
|
|
|
execute
|