summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/bundler/cli.rb2
-rw-r--r--lib/bundler/ui.rb3
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb
index 1ceb12b129..f6dffc34ca 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -1,6 +1,4 @@
require 'bundler'
-require 'bundler/ui/shell'
-require 'bundler/ui/rg_proxy'
require 'bundler/vendored_thor'
module Bundler
diff --git a/lib/bundler/ui.rb b/lib/bundler/ui.rb
index 238537f6b8..074c729c6b 100644
--- a/lib/bundler/ui.rb
+++ b/lib/bundler/ui.rb
@@ -1,5 +1,8 @@
module Bundler
class UI
+ autoload :RGProxy, 'bundler/ui/rg_proxy'
+ autoload :Shell, 'bundler/ui/shell'
+
def warn(message, newline = nil)
end