bootsnap: disable with Ruby 3.
This commit is contained in:
parent
14c1dce38b
commit
979eed70a7
@ -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"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user