summaryrefslogtreecommitdiff
path: root/lib/bundler/cli.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2023-11-23 23:04:44 +0100
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-11-27 15:04:40 +0900
commit56ac1b0e1435a425eb7451e10c0606a009d9113a (patch)
tree9ce2ce58dd4f8a49e06d662b5340dd4c3376494e /lib/bundler/cli.rb
parente00d7b61827303ed3c7759757e9d0a90b80415cb (diff)
[rubygems/rubygems] Fix advice in `bundle install --system` deprecation
https://github.com/rubygems/rubygems/commit/59a66e3560
Diffstat (limited to 'lib/bundler/cli.rb')
-rw-r--r--lib/bundler/cli.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb
index 8099b74ba1..1f7afe72d8 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -250,10 +250,12 @@ module Bundler
def install
SharedHelpers.major_deprecation(2, "The `--force` option has been renamed to `--redownload`") if ARGV.include?("--force")
- %w[clean deployment frozen no-prune path shebang system without with].each do |option|
+ %w[clean deployment frozen no-prune path shebang without with].each do |option|
remembered_flag_deprecation(option)
end
+ print_remembered_flag_deprecation("--system", "path.system", "true") if ARGV.include?("--system")
+
remembered_negative_flag_deprecation("no-deployment")
require_relative "cli/install"