homebrew_bootsnap: disable on ARM.

From https://github.com/Homebrew/homebrew-core/pull/70310/checks?check_run_id=1823920962
this looks very broken indeed.
This commit is contained in:
Mike McQuaid 2021-02-03 17:39:15 +00:00
parent f33dc70e85
commit 7f6f915178
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -5,7 +5,9 @@ if !ENV["HOMEBREW_NO_BOOTSNAP"] &&
ENV["HOMEBREW_BOOTSNAP"] && ENV["HOMEBREW_BOOTSNAP"] &&
# portable ruby doesn't play nice with bootsnap # portable ruby doesn't play nice with bootsnap
!ENV["HOMEBREW_FORCE_VENDOR_RUBY"] && !ENV["HOMEBREW_FORCE_VENDOR_RUBY"] &&
(!ENV["HOMEBREW_MACOS_VERSION"] || ENV["HOMEBREW_MACOS_SYSTEM_RUBY_NEW_ENOUGH"]) (!ENV["HOMEBREW_MACOS_VERSION"] || ENV["HOMEBREW_MACOS_SYSTEM_RUBY_NEW_ENOUGH"]) &&
# Apple Silicon doesn't play nice with bootsnap
(ENV["HOMEBREW_PROCESSOR"] == "Intel")
require "rubygems" require "rubygems"