dev-cmd/vendor-gem: workaround Dependabot removing lockfile platforms

This commit is contained in:
Bo Anderson 2023-11-17 16:51:03 +00:00
parent 25d1f1064a
commit 58ff22eb55
No known key found for this signature in database
GPG Key ID: 3DB94E204E137D65

View File

@ -54,6 +54,11 @@ module Homebrew
ohai "bundle pristine"
safe_system "bundle", "pristine"
# Workaround Bundler 2.4.21 issue where platforms may be removed.
# Although we don't use 2.4.21, Dependabot does as it currently ignores your lockfile version.
# https://github.com/rubygems/rubygems/issues/7169
safe_system "bundle", "lock", "--add-platform", "aarch64-linux", "arm-linux"
if args.non_bundler_gems?
%w[
mechanize