mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Require bundler consistently
The `$LOAD_PATH` should be properly setup so that the local version is used. https://github.com/rubygems/rubygems/commit/03c0ab4082
This commit is contained in:
parent
b9c426eaea
commit
c7232a2a0a
1 changed files with 1 additions and 6 deletions
|
@ -16,12 +16,7 @@ begin
|
|||
rescue Gem::LoadError
|
||||
end
|
||||
|
||||
if File.exist?(bundler_gemspec)
|
||||
require_relative "../../bundler/lib/bundler"
|
||||
else
|
||||
require "bundler"
|
||||
end
|
||||
|
||||
require "bundler"
|
||||
require "test/unit"
|
||||
|
||||
ENV["JARS_SKIP"] = "true" if Gem.java_platform? # avoid unnecessary and noisy `jar-dependencies` post install hook
|
||||
|
|
Loading…
Add table
Reference in a new issue