ruby-changes:62480
From: David <ko1@a...>
Date: Fri, 31 Jul 2020 21:08:57 +0900 (JST)
Subject: [ruby-changes:62480] b7e88e3c2f (master): [rubygems/rubygems] Don't format executables on `gem update --system`
https://git.ruby-lang.org/ruby.git/commit/?id=b7e88e3c2f From b7e88e3c2f8fde3af2ac8aec30bd7c79ecb41cd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...> Date: Fri, 10 Jul 2020 22:11:13 +0200 Subject: [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 diff --git a/lib/rubygems/commands/setup_command.rb b/lib/rubygems/commands/setup_command.rb index 0f21316..73c1b65 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 https://github.com/ruby/ruby/blob/trunk/lib/rubygems/commands/setup_command.rb#L15 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 => '', -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/