1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
k0kubun 2018-11-08 00:06:38 +00:00
parent 5ea2717424
commit e6c4d558dc

View file

@ -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