Project

General

Profile

Bug #15469 » 15469-bundler-loadpath.patch

hsbt (Hiroshi SHIBATA), 02/02/2019 08:29 AM

View differences:

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
(1-1/2)