brew/Library/Homebrew/load_path.rb

13 lines
260 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2018-09-02 23:30:07 +02:00
require "pathname"
2019-04-19 21:46:20 +09:00
HOMEBREW_LIBRARY_PATH = Pathname(__dir__).realpath.freeze
2018-09-02 23:30:07 +02:00
$LOAD_PATH.push HOMEBREW_LIBRARY_PATH.to_s
require "vendor/bundle/bundler/setup"
$LOAD_PATH.select! { |d| Pathname(d).directory? }
$LOAD_PATH.uniq!