From 596d7bdec4c389090afcddbd448282ec4bcfdf86 Mon Sep 17 00:00:00 2001 From: k0kubun Date: Sun, 9 Dec 2018 12:35:13 +0000 Subject: test/rdoc/minitest_helper.rb: partially revert r66286 to resurrect r65613 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/rdoc/minitest_helper.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test') 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