[rubygems/rubygems] Disable RUBYGEMS_GEMDEPS for bundler spec run

Running `bundler` specs using `bundler` is not supported.

cc97b6773d
This commit is contained in:
David Rodríguez 2021-08-06 11:18:41 +02:00 committed by Hiroshi SHIBATA
parent 5aee962fe3
commit ea16a0df80
Notes: git 2021-08-31 19:07:11 +09:00

View file

@ -73,6 +73,7 @@ RSpec.configure do |config|
Spec::Rubygems.test_setup
ENV["BUNDLE_SPEC_RUN"] = "true"
ENV["BUNDLE_USER_CONFIG"] = ENV["BUNDLE_USER_CACHE"] = ENV["BUNDLE_USER_PLUGIN"] = nil
ENV["RUBYGEMS_GEMDEPS"] = nil
ENV["XDG_CONFIG_HOME"] = nil
ENV["GEMRC"] = nil