brew/Library/Homebrew/startup.rb
Mike McQuaid 9560c01453
Enable Bootsnap by default
- do some optimisation of `require`s before Bootsnap
- remove `HOMEBREW_BOOTSTRAP` environment variable as it's set by
  default
- add fast require in `bootsnap.rb` using logic from `ruby.sh`
- cleanup `bootsnap.rb` a bit
- remove setting `HOMEBREW_BOOTSNAP` in GitHub Actions
2025-03-31 17:55:07 +01:00

12 lines
340 B
Ruby

# typed: strict
# frozen_string_literal: true
# This file should be the first `require` in all entrypoints of `brew`.
# Bootsnap should be loaded as early as possible.
require_relative "standalone/init"
require_relative "startup/bootsnap"
require_relative "startup/ruby_path"
require "startup/config"
require_relative "standalone/sorbet"