summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2025-08-12 19:20:55 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2025-09-03 23:38:37 +0900
commit9763e2de016606e4ffdaf83c2ad4da436d4a585d (patch)
tree28448c48dffff7a391b8500954fee2ae0f3923b3
parent6a93a28c6987d443d4cd54b2eea1ea70b9823ff5 (diff)
[rubygems/rubygems] The `bundle clean` command should not be hidden
https://github.com/rubygems/rubygems/commit/eab6366e2e
-rw-r--r--lib/bundler/cli.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb
index 47a39069cc..c17dda30f3 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -559,7 +559,7 @@ module Bundler
File.expand_path("templates", __dir__)
end
- desc "clean [OPTIONS]", "Cleans up unused gems in your bundler directory", hide: true
+ desc "clean [OPTIONS]", "Cleans up unused gems in your bundler directory"
method_option "dry-run", type: :boolean, default: false, banner: "Only print out changes, do not clean gems"
method_option "force", type: :boolean, default: false, banner: "Forces cleaning up unused gems even if Bundler is configured to use globally installed gems. As a consequence, removes all system gems except for the ones in the current application."
def clean