diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2017-07-19 13:51:13 -0500 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2017-07-19 15:54:40 -0500 |
commit | cb88c7189bd6af5223a276a5f5862ee3254eb684 (patch) | |
tree | 4fd7ec73fb83b5b7e6f1c49ea49f63d037b405d4 /lib/bundler/cli | |
parent | 9760e0898734340d1d44f7a5a6b84341b0c512ae (diff) | |
download | bundler-cb88c7189bd6af5223a276a5f5862ee3254eb684.tar.gz |
[CLI] Deprecate install --force in favor of --redownload
Diffstat (limited to 'lib/bundler/cli')
-rw-r--r-- | lib/bundler/cli/install.rb | 2 |
1 files changed, 2 insertions, 0 deletions
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 |