summaryrefslogtreecommitdiff
path: root/tasks
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-05-05 22:09:41 -0700
committerTim Smith <tsmith84@gmail.com>2020-05-05 22:09:41 -0700
commite515ec1e30f57c4ab166061fe709b7decb8d4f66 (patch)
tree7b22d250e1f099dbe7a8dd03844896c7e6d227ad /tasks
parentec53e5ff30344216700ae42f72883477661feb91 (diff)
downloadchef-e515ec1e30f57c4ab166061fe709b7decb8d4f66.tar.gz
Pin chef-telementry to 1.0.3 to avoid ffi build breakage
The latest chef-telemetry gem brings in http 4 which brings in a pile off FFI gems that break the builds. Pin until the http dep is removed from the telemtry gem https://github.com/chef/chef-telemetry/issues/32. This also speeds up how to bundle our gems to match what the Workstation team did to speed up the job. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'tasks')
-rw-r--r--tasks/dependencies.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/tasks/dependencies.rb b/tasks/dependencies.rb
index 3acecfeb26..f83b1c356c 100644
--- a/tasks/dependencies.rb
+++ b/tasks/dependencies.rb
@@ -33,9 +33,7 @@ namespace :dependencies do
Dir.chdir(dir) do
Bundler.with_unbundled_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