1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[bundler/bundler] [Package] Dont always update on --all-platforms

https://github.com/bundler/bundler/commit/723611f6ee
This commit is contained in:
Samuel Giddins 2017-10-20 14:24:48 -05:00 committed by Hiroshi SHIBATA
parent d761a0f6ff
commit 215d846ea5
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -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