Bug #15469 » 15469-bundler-loadpath.patch
lib/bundler/shared_helpers.rb | ||
---|---|---|
def set_rubylib
|
||
rubylib = (ENV["RUBYLIB"] || "").split(File::PATH_SEPARATOR)
|
||
rubylib.unshift bundler_ruby_lib
|
||
rubylib.unshift bundler_ruby_lib unless $LOAD_PATH.include?(bundler_ruby_lib )
|
||
Bundler::SharedHelpers.set_env "RUBYLIB", rubylib.uniq.join(File::PATH_SEPARATOR)
|
||
end
|
||