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-01 09:46:32 +0900 |
commit | 5215ae7fa35f673130552371d81d25f4918357e7 (patch) | |
tree | da22ecf81dbedd8e96522ba9f1d17c861dffe865 | |
parent | ffc5e763357a683297d798f532b7e3033c81e542 (diff) | |
download | bundler-5215ae7fa35f673130552371d81d25f4918357e7.tar.gz |
Remove Bundler.rubygems.config_map because it was deprecated.remove-gem-configmap
-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 b8b84117d4..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 - RbConfig::CONFIG - end - def clear_paths Gem.clear_paths end |