bootsnap: disable with Ruby 3.

This commit is contained in:
Mike McQuaid 2023-10-27 16:13:17 +01:00
parent 14c1dce38b
commit 979eed70a7
No known key found for this signature in database
GPG Key ID: 3338A31AFDB1D829

View File

@ -3,7 +3,9 @@
# Disable Rails cops, as we haven't required active_support yet. # Disable Rails cops, as we haven't required active_support yet.
# rubocop:disable Rails # rubocop:disable Rails
homebrew_bootsnap_enabled = ENV["HOMEBREW_NO_BOOTSNAP"].nil? && !ENV["HOMEBREW_BOOTSNAP"].nil? homebrew_bootsnap_enabled = ENV["HOMEBREW_NO_BOOTSNAP"].nil? &&
!ENV["HOMEBREW_BOOTSNAP"].nil? &&
ENV["HOMEBREW_RUBY3"].nil?
# we need some development tools to build bootsnap native code # we need some development tools to build bootsnap native code
homebrew_bootsnap_enabled &&= if ENV["HOMEBREW_MACOS_VERSION"] homebrew_bootsnap_enabled &&= if ENV["HOMEBREW_MACOS_VERSION"]