From 7a0998145fb8fbc836cdf1f19858ab5834159b07 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Sun, 9 Dec 2018 21:38:05 +0900 Subject: [PATCH] Fix random test failure by Bundler integration --- test/minitest_helper.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/minitest_helper.rb b/test/minitest_helper.rb index 1814669bf9..9fb0cd676b 100644 --- a/test/minitest_helper.rb +++ b/test/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