diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-08 00:06:38 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-08 00:06:38 +0000 |
commit | e6c4d558dc7dbdbb6a61c62303efb948747c8800 (patch) | |
tree | 2acbf43bb7c67238a5cc99fa3e2ddbb9e4def841 /test/rdoc | |
parent | 5ea27174244aebf440af3541b33135054f65aaab (diff) | |
download | ruby-e6c4d558dc7dbdbb6a61c62303efb948747c8800.tar.gz |
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
Diffstat (limited to 'test/rdoc')
-rw-r--r-- | test/rdoc/minitest_helper.rb | 3 |
1 files changed, 2 insertions, 1 deletions
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 |