mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
14 lines
274 B
Ruby
14 lines
274 B
Ruby
# typed: true
|
|
# frozen_string_literal: true
|
|
|
|
require "pathname"
|
|
|
|
HOMEBREW_LIBRARY_PATH = Pathname(__dir__).realpath.freeze
|
|
|
|
$LOAD_PATH.push HOMEBREW_LIBRARY_PATH.to_s
|
|
|
|
require "vendor/bundle/bundler/setup"
|
|
|
|
$LOAD_PATH.select! { |d| Pathname(d).directory? }
|
|
$LOAD_PATH.uniq!
|