standalone/load_path: add Bundler to LOAD_PATH
This commit is contained in:
parent
8dd5ccdb6b
commit
4b7eec6104
@ -14,4 +14,6 @@ Homebrew.setup_gem_environment!(setup_path: false)
|
|||||||
|
|
||||||
$LOAD_PATH.push HOMEBREW_LIBRARY_PATH.to_s unless $LOAD_PATH.include?(HOMEBREW_LIBRARY_PATH.to_s)
|
$LOAD_PATH.push HOMEBREW_LIBRARY_PATH.to_s unless $LOAD_PATH.include?(HOMEBREW_LIBRARY_PATH.to_s)
|
||||||
require_relative "../vendor/bundle/bundler/setup"
|
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!
|
$LOAD_PATH.uniq!
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user