Skip to content
Permalink
Browse files

Stop `circular require` warning

  • Loading branch information...
znz committed Jun 6, 2019
1 parent 861b50d commit c2a9c350249588677cf68b506539093504927eac
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rubygems.rb
@@ -1207,7 +1207,7 @@ def self.use_gemdeps(path = nil)
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

0 comments on commit c2a9c35

Please sign in to comment.
You can’t perform that action at this time.