diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-08-12 23:30:45 +0200 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-09-15 15:31:43 +0200 |
commit | d7b7b3dd0e4238bef0cb4d4b9e0e3734f8d1149a (patch) | |
tree | 6189e0a454f0fdb85d8ed5caf67922d3b943ed4c /spec/support/rubygems_ext.rb | |
parent | b492f83b95fb87f2b4e87c54b6e84f909e7e99a0 (diff) | |
download | bundler-d7b7b3dd0e4238bef0cb4d4b9e0e3734f8d1149a.tar.gz |
Lazily require rubygems/user_interaction
Diffstat (limited to 'spec/support/rubygems_ext.rb')
-rw-r--r-- | spec/support/rubygems_ext.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/rubygems_ext.rb b/spec/support/rubygems_ext.rb index 6472b46652..4c2386244c 100644 --- a/spec/support/rubygems_ext.rb +++ b/spec/support/rubygems_ext.rb @@ -1,6 +1,5 @@ # frozen_string_literal: true -require "rubygems/user_interaction" require_relative "path" require "fileutils" @@ -73,6 +72,7 @@ module Spec ENV["HOME"] = Path.home.to_s ENV["TMPDIR"] = Path.tmpdir.to_s + require "rubygems/user_interaction" Gem::DefaultUserInteraction.ui = Gem::SilentUI.new end |