diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-26 14:02:59 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-26 14:02:59 +0000 |
commit | 79f3b6b5cd489b0ad474fb38faf6dac2278c6adf (patch) | |
tree | 54da99eec6aebde7ccf6c2809e520cd07a6f712c /lib | |
parent | 08e1705eec3b48a120d7b74aaf2da2e1396bd6d9 (diff) | |
download | ruby-79f3b6b5cd489b0ad474fb38faf6dac2278c6adf.tar.gz |
Do not load rubygems when disabled
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bundler/setup.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bundler/setup.rb b/lib/bundler/setup.rb index ac6a5bf861..0ab582c2a2 100644 --- a/lib/bundler/setup.rb +++ b/lib/bundler/setup.rb @@ -1,5 +1,7 @@ # frozen_string_literal: true +return unless defined?(Gem) + require "bundler/shared_helpers" if Bundler::SharedHelpers.in_bundle? |