aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rubygems
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-07-10 22:11:13 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-07-31 21:07:19 +0900
commitb7e88e3c2f8fde3af2ac8aec30bd7c79ecb41cd9 (patch)
treef9c991de27858108d0281fa8a870f5366435b449 /lib/rubygems
parent0e2d8c487c42aa311d329d1f44963cf002e0e598 (diff)
downloadruby-b7e88e3c2f8fde3af2ac8aec30bd7c79ecb41cd9.tar.gz
[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
Diffstat (limited to 'lib/rubygems')
-rw-r--r--lib/rubygems/commands/setup_command.rb2
1 files changed, 1 insertions, 1 deletions
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 => '',