brew/Library/Homebrew/load_path.rb
2020-10-10 14:59:39 +02:00

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!