From 0bd1cd677f769ac6128989bf1d021753698fdaac Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 1 Aug 2019 09:46:32 +0900 Subject: [bundler/bundler] Remove Bundler.rubygems.config_map because it was deprecated. https://github.com/bundler/bundler/commit/5215ae7fa3 --- lib/bundler.rb | 2 +- lib/bundler/rubygems_integration.rb | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/bundler.rb b/lib/bundler.rb index 10dd4f65f9..1887457c77 100644 --- a/lib/bundler.rb +++ b/lib/bundler.rb @@ -150,7 +150,7 @@ module Bundler end def ruby_scope - "#{Bundler.rubygems.ruby_engine}/#{Bundler.rubygems.config_map[:ruby_version]}" + "#{Bundler.rubygems.ruby_engine}/#{RbConfig::CONFIG["ruby_version"]}" end def user_home diff --git a/lib/bundler/rubygems_integration.rb b/lib/bundler/rubygems_integration.rb index dcf0007ca2..7549c592f1 100644 --- a/lib/bundler/rubygems_integration.rb +++ b/lib/bundler/rubygems_integration.rb @@ -213,10 +213,6 @@ module Bundler Gem::MARSHAL_SPEC_DIR end - def config_map - Gem::ConfigMap - end - def clear_paths Gem.clear_paths end -- cgit v1.2.1