From e6c4d558dc7dbdbb6a61c62303efb948747c8800 Mon Sep 17 00:00:00 2001 From: k0kubun Date: Thu, 8 Nov 2018 00:06:38 +0000 Subject: test/rdoc/minitest_helper.rb: suppress bundler error maybe after bundler introduction to this repository, we randomly hit errors like: http://ci.rvm.jp/results/trunk-gc-asserts@silicon-docker/1447918 As we would require minitest in this repository anyway, it should be fine to suppress the error there. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/rdoc/minitest_helper.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/rdoc/minitest_helper.rb') diff --git a/test/rdoc/minitest_helper.rb b/test/rdoc/minitest_helper.rb index 1814669bf9..9fb0cd676b 100644 --- a/test/rdoc/minitest_helper.rb +++ b/test/rdoc/minitest_helper.rb @@ -1,7 +1,8 @@ # frozen_string_literal: true +require 'bundler/errors' begin gem 'minitest', '~> 5.0' -rescue NoMethodError, Gem::LoadError +rescue NoMethodError, Gem::LoadError, Bundler::GemfileNotFound # for ruby tests end -- cgit v1.2.3