ruby-changes:53778
From: nobu <ko1@a...>
Date: Mon, 26 Nov 2018 23:03:04 +0900 (JST)
Subject: [ruby-changes:53778] nobu:r65995 (trunk): Do not load rubygems when disabled
nobu 2018-11-26 23:02:59 +0900 (Mon, 26 Nov 2018) New Revision: 65995 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65995 Log: Do not load rubygems when disabled Modified files: trunk/lib/bundler/setup.rb Index: lib/bundler/setup.rb =================================================================== --- lib/bundler/setup.rb (revision 65994) +++ lib/bundler/setup.rb (revision 65995) @@ -1,5 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/lib/bundler/setup.rb#L1 # frozen_string_literal: true +return unless defined?(Gem) + require "bundler/shared_helpers" if Bundler::SharedHelpers.in_bundle? -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/