mirror of
https://github.com/ruby/ruby.git
synced 2025-09-16 00:54:01 +02:00
[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:
parent
2396f703cf
commit
3256480317
Notes:
git
2020-05-08 07:39:32 +09:00
1 changed files with 1 additions and 4 deletions
|
@ -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'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue