Rename environment name to more descriptive

This commit is contained in:
Hiroshi SHIBATA 2024-11-27 11:52:41 +09:00
parent c41af37ee6
commit 24889e44f7
Notes: git 2024-11-27 07:45:44 +00:00
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ module Gem::BUNDLED_GEMS
WARNED = {} # unfrozen
conf = ::RbConfig::CONFIG
if ENV["TEST_BUNDLED_GEMS"]
if ENV["TEST_BUNDLED_GEMS_FAKE_RBCONFIG"]
LIBDIR = (File.expand_path(File.join(__dir__, "..", "lib")) + "/").freeze
rubyarchdir = $LOAD_PATH.find{|path| path.include?(".ext/common") }
ARCHDIR = (File.expand_path(rubyarchdir) + "/").freeze

View File

@ -20,7 +20,7 @@ RSpec.configure do |config|
config.before(:suite) do
Gem.ruby = ENV["RUBY"] if ENV["RUBY"]
ENV["TEST_BUNDLED_GEMS"] = "true"
ENV["TEST_BUNDLED_GEMS_FAKE_RBCONFIG"] = "true"
require_relative "bundler/support/rubygems_ext"
Spec::Rubygems.test_setup