diff options
author | Bundlerbot <bot@bundler.io> | 2019-08-02 10:08:03 +0000 |
---|---|---|
committer | Bundlerbot <bot@bundler.io> | 2019-08-02 10:08:03 +0000 |
commit | e1c518363641208429f397170354054b3d28effd (patch) | |
tree | 81f8db8d6bf8839aab783e734d8770c993beb40b /spec/support/artifice/vcr_cassettes/realworld/index.rubygems.org/info/eventmachine-le/GET/response | |
parent | d7808eae1b1a06e1e3a7be53d99830df2605bb9f (diff) | |
parent | 5215ae7fa35f673130552371d81d25f4918357e7 (diff) | |
download | bundler-e1c518363641208429f397170354054b3d28effd.tar.gz |
Merge #7267
7267: Use RbConfig::CONFIG directly instead of Gem::ConfigMap. r=deivid-rodriguez a=hsbt
### What was the end-user problem that led to this PR?
When we try to remove `Gem::ConfigMap` on rubygems repository, It breaks the bundler examples.
https://github.com/rubygems/rubygems/pull/2848#issuecomment-515726585
### What was your diagnosis of the problem?
Gem::ConfigMap is compatibility code for the old Ruby like 1.8/1.9.
### What is your fix for the problem, implemented in this PR?
Use RbConfig instead of `Gem::ConfigMap` directly. It was always provided after the Ruby 2.x.
Co-authored-by: Hiroshi SHIBATA <hsbt@ruby-lang.org>
Diffstat (limited to 'spec/support/artifice/vcr_cassettes/realworld/index.rubygems.org/info/eventmachine-le/GET/response')
0 files changed, 0 insertions, 0 deletions