[rubygems/rubygems] Don't swallow gem activation exception

Our tests are now guaranteed to not work on older versions of minitest,
so I don't think we should swallow this activation error because it will
make it very clear for the user what the problem is if she has a
minitest version not satisfying the requirement.

a291b65369
This commit is contained in:
David Rodríguez 2020-03-27 11:24:38 +01:00 committed by Hiroshi SHIBATA
parent 2396f703cf
commit 3256480317
Notes: git 2020-05-08 07:39:32 +09:00

View file

@ -11,10 +11,7 @@ if File.exist?(bundler_gemspec)
Gem::Specification.dirs.shift Gem::Specification.dirs.shift
end end
begin gem 'minitest', '~> 5.13'
gem 'minitest', '~> 5.13'
rescue Gem::LoadError
end
begin begin
require 'simplecov' require 'simplecov'