diff options
-rw-r--r-- | lib/bundler/cli.rb | 4 | ||||
-rw-r--r-- | spec/bundler/other/major_deprecation_spec.rb | 2 |
2 files changed, 4 insertions, 2 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" diff --git a/spec/bundler/other/major_deprecation_spec.rb b/spec/bundler/other/major_deprecation_spec.rb index 2d01b64537..7cc1926253 100644 --- a/spec/bundler/other/major_deprecation_spec.rb +++ b/spec/bundler/other/major_deprecation_spec.rb @@ -377,7 +377,7 @@ RSpec.describe "major deprecations" do "no-prune" => ["no_prune", "true"], "path" => ["path", "'vendor/bundle'"], "shebang" => ["shebang", "'ruby27'"], - "system" => ["system", "true"], + "system" => ["path.system", "true"], "without" => ["without", "'development'"], "with" => ["with", "'development'"], }.each do |name, expectations| |