diff --git a/lib/rubygems/test_case.rb b/lib/rubygems/test_case.rb index 7648ffdc84..a93f749240 100644 --- a/lib/rubygems/test_case.rb +++ b/lib/rubygems/test_case.rb @@ -254,6 +254,7 @@ class Gem::TestCase < (defined?(Minitest::Test) ? Minitest::Test : MiniTest::Uni @orig_gem_env_requirements = ENV.to_hash ENV['GEM_VENDOR'] = nil + ENV['SOURCE_DATE_EPOCH'] = nil @current_dir = Dir.pwd @fetcher = nil