ruby-changes:56789
From: Hiroshi <ko1@a...>
Date: Sun, 4 Aug 2019 02:10:40 +0900 (JST)
Subject: [ruby-changes:56789] Hiroshi SHIBATA: b3b2b55f7b (master): [bundler/bundler] The keys for RbConfig::CONFIG was String.
https://git.ruby-lang.org/ruby.git/commit/?id=b3b2b55f7b From b3b2b55f7b7ab035851176d28ecee4afaa3fe0cc Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Thu, 1 Aug 2019 09:44:46 +0900 Subject: [bundler/bundler] The keys for RbConfig::CONFIG was String. https://github.com/bundler/bundler/commit/ffc5e76335 diff --git a/spec/bundler/support/path.rb b/spec/bundler/support/path.rb index ca05ef5..aa06a3f 100644 --- a/spec/bundler/support/path.rb +++ b/spec/bundler/support/path.rb @@ -1,6 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/spec/bundler/support/path.rb#L1 # frozen_string_literal: true require "pathname" +require "rbconfig" module Spec module Path @@ -32,7 +33,7 @@ module Spec https://github.com/ruby/ruby/blob/trunk/spec/bundler/support/path.rb#L33 if Bundler::VERSION.split(".").first.to_i < 3 system_gem_path(*path) else - bundled_app(*[".bundle", ENV.fetch("BUNDLER_SPEC_RUBY_ENGINE", Gem.ruby_engine), Gem::ConfigMap[:ruby_version], *path].compact) + bundled_app(*[".bundle", ENV.fetch("BUNDLER_SPEC_RUBY_ENGINE", Gem.ruby_engine), RbConfig::CONFIG["ruby_version"], *path].compact) end end @@ -51,7 +52,7 @@ module Spec https://github.com/ruby/ruby/blob/trunk/spec/bundler/support/path.rb#L52 end def vendored_gems(path = nil) - bundled_app(*["vendor/bundle", Gem.ruby_engine, Gem::ConfigMap[:ruby_version], path].compact) + bundled_app(*["vendor/bundle", Gem.ruby_engine, RbConfig::CONFIG["ruby_version"], path].compact) end def cached_gem(path) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/