summaryrefslogtreecommitdiff
path: root/lib/bundler/cli/update.rb
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2023-08-28 18:31:52 -0700
committergit <svn-admin@ruby-lang.org>2023-08-29 19:31:36 +0000
commit7a5df9d0ed7cbd0660803074b34623a1f1dc0768 (patch)
tree0cb3c6c11b33bd9ed8b576baf669ee5f896b02e7 /lib/bundler/cli/update.rb
parentf37f357e808a7435f56946cd603a333feba7691b (diff)
[rubygems/rubygems] Fix bundle update --redownload
It now does the redownloading/installing just like bundle install --redownload https://github.com/rubygems/rubygems/commit/3b058e5eca
Diffstat (limited to 'lib/bundler/cli/update.rb')
-rw-r--r--lib/bundler/cli/update.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler/cli/update.rb b/lib/bundler/cli/update.rb
index b49182655b..22dd1a78dd 100644
--- a/lib/bundler/cli/update.rb
+++ b/lib/bundler/cli/update.rb
@@ -63,6 +63,7 @@ module Bundler
opts = options.dup
opts["update"] = true
opts["local"] = options[:local]
+ opts["force"] = options[:redownload]
Bundler.settings.set_command_option_if_given :jobs, opts["jobs"]