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
340 340

  
341 341
    def set_rubylib
342 342
      rubylib = (ENV["RUBYLIB"] || "").split(File::PATH_SEPARATOR)
343
      rubylib.unshift bundler_ruby_lib
343
      rubylib.unshift bundler_ruby_lib unless $LOAD_PATH.include?(bundler_ruby_lib )
344 344
      Bundler::SharedHelpers.set_env "RUBYLIB", rubylib.uniq.join(File::PATH_SEPARATOR)
345 345
    end
346 346