From cb88c7189bd6af5223a276a5f5862ee3254eb684 Mon Sep 17 00:00:00 2001 From: Samuel Giddins Date: Wed, 19 Jul 2017 13:51:13 -0500 Subject: [CLI] Deprecate install --force in favor of --redownload --- lib/bundler/cli/install.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/bundler/cli/install.rb') diff --git a/lib/bundler/cli/install.rb b/lib/bundler/cli/install.rb index bd91db1b89..cc41cce7a6 100644 --- a/lib/bundler/cli/install.rb +++ b/lib/bundler/cli/install.rb @@ -194,6 +194,8 @@ module Bundler disable_shared_gems = Bundler.settings[:path] ? true : nil Bundler.settings.set_command_option :disable_shared_gems, disable_shared_gems unless Bundler.settings[:disable_shared_gems] == disable_shared_gems + + options[:force] = options[:redownload] end def warn_ambiguous_gems -- cgit v1.2.1