summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2024-04-18 15:28:50 +0900
committergit <svn-admin@ruby-lang.org>2025-10-28 11:06:16 +0000
commit523474bdfcae518ff74d2455f5199ea1df0af760 (patch)
tree853a8ea670b47134d9e6bc96f9808b9f17218543
parenta27f430de7fdf9b4ab9b158c44aa40b81bd705cd (diff)
[ruby/rubygems] Deprecate --default option
https://github.com/ruby/rubygems/commit/55745ee0f8
-rw-r--r--lib/rubygems/install_update_options.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/install_update_options.rb b/lib/rubygems/install_update_options.rb
index 0d0f0dc211..57c41b7586 100644
--- a/lib/rubygems/install_update_options.rb
+++ b/lib/rubygems/install_update_options.rb
@@ -158,7 +158,7 @@ module Gem::InstallUpdateOptions
options[:without_groups].concat v.map(&:intern)
end
- add_option(:"Install/Update", "--default",
+ add_option(:Deprecated, "--default",
"Add the gem's full specification to",
"specifications/default and extract only its bin") do |v,_o|
options[:install_as_default] = v