summaryrefslogtreecommitdiff
path: root/test/rubygems/helper.rb
diff options
context:
space:
mode:
authorJosef Šimánek <josef.simanek@gmail.com>2022-09-11 05:40:55 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2022-11-11 17:24:08 +0900
commitc7d043065c058f20ce30c61bb3ce127cb15cc0a8 (patch)
treedc36ca3f11e09451564500fa241fe3fdc521fde7 /test/rubygems/helper.rb
parentceeefb5870c144ddc069b2c9b8a19dbd4947a947 (diff)
[rubygems/rubygems] Add 'call for update' to RubyGems install command.
https://github.com/rubygems/rubygems/commit/05811f8248
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6715
Diffstat (limited to 'test/rubygems/helper.rb')
-rw-r--r--test/rubygems/helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/rubygems/helper.rb b/test/rubygems/helper.rb
index ae89d669fe..43423dc101 100644
--- a/test/rubygems/helper.rb
+++ b/test/rubygems/helper.rb
@@ -309,6 +309,7 @@ class Gem::TestCase < Test::Unit::TestCase
ENV["XDG_DATA_HOME"] = nil
ENV["SOURCE_DATE_EPOCH"] = nil
ENV["BUNDLER_VERSION"] = nil
+ ENV["RUBYGEMS_PREVENT_UPDATE_SUGGESTION"] = "true"
@current_dir = Dir.pwd
@fetcher = nil