mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Stop circular require
warning
This commit is contained in:
parent
861b50d81d
commit
c2a9c35024
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue