aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2022-06-15 20:54:29 +0200
committergit <svn-admin@ruby-lang.org>2022-06-17 17:05:52 +0900
commit78425d7e74887b57ee15e6b8933bd3878db6a888 (patch)
treedce7c84d683068acc59164c448e71c51e4fe833d /spec
parent1e8bf48fd5e9cdfba5d86a39426458111a433d09 (diff)
downloadruby-78425d7e74887b57ee15e6b8933bd3878db6a888.tar.gz
[rubygems/rubygems] Unset ENV set by official Ruby docker images
So that it does not interfere with our specs. https://github.com/rubygems/rubygems/commit/1029714e21
Diffstat (limited to 'spec')
-rw-r--r--spec/bundler/spec_helper.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/bundler/spec_helper.rb b/spec/bundler/spec_helper.rb
index 23db133b67..892ad10e98 100644
--- a/spec/bundler/spec_helper.rb
+++ b/spec/bundler/spec_helper.rb
@@ -74,6 +74,8 @@ RSpec.configure do |config|
ENV["BUNDLER_SPEC_RUN"] = "true"
ENV["BUNDLER_NO_OLD_RUBYGEMS_WARNING"] = "true"
ENV["BUNDLE_USER_CONFIG"] = ENV["BUNDLE_USER_CACHE"] = ENV["BUNDLE_USER_PLUGIN"] = nil
+ ENV["BUNDLE_APP_CONFIG"] = nil
+ ENV["BUNDLE_SILENCE_ROOT_WARNING"] = nil
ENV["RUBYGEMS_GEMDEPS"] = nil
ENV["XDG_CONFIG_HOME"] = nil
ENV["GEMRC"] = nil