summaryrefslogtreecommitdiff
path: root/lib/bundler/cli
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2017-10-20 14:24:48 -0500
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-03 09:29:56 +0900
commit215d846ea59ef0a20558ac7056f35998e9dc053e (patch)
tree73d2d62c4074a035682f8c5cd677c5bfd00f617e /lib/bundler/cli
parentd761a0f6ffd443b3440ac5144edcdd8054db9c7c (diff)
[bundler/bundler] [Package] Dont always update on --all-platforms
https://github.com/bundler/bundler/commit/723611f6ee
Diffstat (limited to 'lib/bundler/cli')
-rw-r--r--lib/bundler/cli/package.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/bundler/cli/package.rb b/lib/bundler/cli/package.rb
index 120a3fdcf3..3293b5512b 100644
--- a/lib/bundler/cli/package.rb
+++ b/lib/bundler/cli/package.rb
@@ -27,10 +27,7 @@ module Bundler
def install
require_relative "install"
options = self.options.dup
- if Bundler.settings[:cache_all_platforms]
- options["local"] = false
- options["update"] = true
- end
+ options["local"] = false if Bundler.settings[:cache_all_platforms]
Bundler::CLI::Install.new(options).run
end