summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-05-21 16:02:31 -0700
committerTim Smith <tsmith84@gmail.com>2020-05-21 16:02:31 -0700
commit2cc69ed97e698a18856b0f21e24b84f69b743eb9 (patch)
tree6e1cf0c565a14d81c2d5cf7116e436549411dcfd
parent5c9a5ac86a1c1c8f192b7c00ebb7613b8991832f (diff)
downloadchef-2cc69ed97e698a18856b0f21e24b84f69b743eb9.tar.gz
Speed up the dep update rake task
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--tasks/dependencies.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/tasks/dependencies.rb b/tasks/dependencies.rb
index 64d365b941..fff594256a 100644
--- a/tasks/dependencies.rb
+++ b/tasks/dependencies.rb
@@ -33,9 +33,7 @@ namespace :dependencies do
Dir.chdir(dir) do
Bundler.with_clean_env do
rm_f "#{dir}/Gemfile.lock"
- sh "bundle lock --update --add-platform ruby"
- sh "bundle lock --update --add-platform x64-mingw32"
- sh "bundle lock --update --add-platform x86-mingw32"
+ sh "bundle lock --update --add-platform ruby x64-mingw32 x86-mingw32"
end
end
end