зеркало из https://github.com/github/ruby.git
Stop `circular require` warning
This commit is contained in:
Родитель
861b50d81d
Коммит
c2a9c35024
|
@ -1207,7 +1207,7 @@ An Array (#{env.inspect}) was passed in from #{caller[3]}
|
|||
ENV["BUNDLE_GEMFILE"] ||= File.expand_path(path)
|
||||
require 'rubygems/user_interaction'
|
||||
Gem::DefaultUserInteraction.use_ui(ui) do
|
||||
require "bundler"
|
||||
require "bundler" unless caller_locations.any? { |location| location.path.end_with?("bundler.rb") }
|
||||
begin
|
||||
@gemdeps = Bundler.setup
|
||||
ensure
|
||||
|
|
Загрузка…
Ссылка в новой задаче