зеркало из https://github.com/github/ruby.git
Revert "Stop `circular require` warning"
This reverts commit c2a9c35024
.
It cannot stop `circular require` warning.
This commit is contained in:
Родитель
c2a9c35024
Коммит
fcc36d767b
|
@ -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" unless caller_locations.any? { |location| location.path.end_with?("bundler.rb") }
|
||||
require "bundler"
|
||||
begin
|
||||
@gemdeps = Bundler.setup
|
||||
ensure
|
||||
|
|
Загрузка…
Ссылка в новой задаче