From b7e88e3c2f8fde3af2ac8aec30bd7c79ecb41cd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Fri, 10 Jul 2020 22:11:13 +0200 Subject: [PATCH] [rubygems/rubygems] Don't format executables on `gem update --system` This restores 3.0 behavior and goes back to not formatting executables by default on `gem update --system`. This is friendlier for jruby and doesn't really affect OS packagers. https://github.com/rubygems/rubygems/commit/1a504b651d --- lib/rubygems/commands/setup_command.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rubygems/commands/setup_command.rb b/lib/rubygems/commands/setup_command.rb index 0f213161df..73c1b65223 100644 --- a/lib/rubygems/commands/setup_command.rb +++ b/lib/rubygems/commands/setup_command.rb @@ -15,7 +15,7 @@ class Gem::Commands::SetupCommand < Gem::Command require 'tmpdir' super 'setup', 'Install RubyGems', - :format_executable => true, :document => %w[ri], + :format_executable => false, :document => %w[ri], :force => true, :site_or_vendor => 'sitelibdir', :destdir => '', :prefix => '', :previous_version => '',