Skip to content

Commit

Permalink
standalone/load_path: add Bundler to LOAD_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
Bo98 committed Sep 13, 2023
1 parent 8dd5ccd commit 4b7eec6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Library/Homebrew/standalone/load_path.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@

$LOAD_PATH.push HOMEBREW_LIBRARY_PATH.to_s unless $LOAD_PATH.include?(HOMEBREW_LIBRARY_PATH.to_s)
require_relative "../vendor/bundle/bundler/setup"
$LOAD_PATH.unshift "#{HOMEBREW_LIBRARY_PATH}/vendor/bundle/#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/" \
"bundler-#{Homebrew::HOMEBREW_BUNDLER_VERSION}/lib"
$LOAD_PATH.uniq!

0 comments on commit 4b7eec6

Please sign in to comment.