Rename environment name to more descriptive
This commit is contained in:
parent
c41af37ee6
commit
24889e44f7
Notes:
git
2024-11-27 07:45:44 +00:00
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user