aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2021-12-21 14:50:44 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-12-21 15:27:05 +0900
commit69dc2ea46538f47ff5edda3bb16863034bd19069 (patch)
treea4c545640fbdf31ab90f02a7def173840944806b /lib/bundler.rb
parentad450c9fe51c51626dd07f6e766f47d839cae3ba (diff)
downloadruby-69dc2ea46538f47ff5edda3bb16863034bd19069.tar.gz
Merge RubyGems-3.3.0 and Bundler-2.3.0
Diffstat (limited to 'lib/bundler.rb')
-rw-r--r--lib/bundler.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb
index 81dfd05d26..89865a8254 100644
--- a/lib/bundler.rb
+++ b/lib/bundler.rb
@@ -66,6 +66,7 @@ module Bundler
autoload :RubyDsl, File.expand_path("bundler/ruby_dsl", __dir__)
autoload :RubyVersion, File.expand_path("bundler/ruby_version", __dir__)
autoload :Runtime, File.expand_path("bundler/runtime", __dir__)
+ autoload :SelfManager, File.expand_path("bundler/self_manager", __dir__)
autoload :Settings, File.expand_path("bundler/settings", __dir__)
autoload :SharedHelpers, File.expand_path("bundler/shared_helpers", __dir__)
autoload :Source, File.expand_path("bundler/source", __dir__)
@@ -643,6 +644,13 @@ EOF
Bundler.rubygems.clear_paths
end
+ def self_manager
+ @self_manager ||= begin
+ require_relative "bundler/self_manager"
+ Bundler::SelfManager.new
+ end
+ end
+
private
def eval_yaml_gemspec(path, contents)