diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-08-01 09:46:32 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-08-03 09:41:17 +0900 |
commit | 0bd1cd677f769ac6128989bf1d021753698fdaac (patch) | |
tree | 04d3740fe7e244753557db9ae7e429661edcc0a0 | |
parent | b3b2b55f7b7ab035851176d28ecee4afaa3fe0cc (diff) | |
download | bundler-0bd1cd677f769ac6128989bf1d021753698fdaac.tar.gz |
[bundler/bundler] Remove Bundler.rubygems.config_map because it was deprecated.
https://github.com/bundler/bundler/commit/5215ae7fa3
-rw-r--r-- | lib/bundler.rb | 2 | ||||
-rw-r--r-- | lib/bundler/rubygems_integration.rb | 4 |
2 files changed, 1 insertions, 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 |