summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-01 09:44:46 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-01 09:44:46 +0900
commitffc5e763357a683297d798f532b7e3033c81e542 (patch)
tree20ba3b43684b03917162963d72bb8eda59df6a0c
parentefbd2ed35bb30301eb12db5255d1162d01be71b4 (diff)
downloadbundler-ffc5e763357a683297d798f532b7e3033c81e542.tar.gz
The keys for RbConfig::CONFIG was String.
-rw-r--r--spec/support/path.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/path.rb b/spec/support/path.rb
index 993776af05..aa06a3f047 100644
--- a/spec/support/path.rb
+++ b/spec/support/path.rb
@@ -33,7 +33,7 @@ module Spec
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), RbConfig::CONFIG[:ruby_version], *path].compact)
+ bundled_app(*[".bundle", ENV.fetch("BUNDLER_SPEC_RUBY_ENGINE", Gem.ruby_engine), RbConfig::CONFIG["ruby_version"], *path].compact)
end
end
@@ -52,7 +52,7 @@ module Spec
end
def vendored_gems(path = nil)
- bundled_app(*["vendor/bundle", Gem.ruby_engine, RbConfig::CONFIG[:ruby_version], path].compact)
+ bundled_app(*["vendor/bundle", Gem.ruby_engine, RbConfig::CONFIG["ruby_version"], path].compact)
end
def cached_gem(path)