[前][次][番号順一覧][スレッド一覧]

ruby-changes:53397

From: k0kubun <ko1@a...>
Date: Thu, 8 Nov 2018 09:06:45 +0900 (JST)
Subject: [ruby-changes:53397] k0kubun:r65613 (trunk): test/rdoc/minitest_helper.rb: suppress bundler error

k0kubun	2018-11-08 09:06:38 +0900 (Thu, 08 Nov 2018)

  New Revision: 65613

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65613

  Log:
    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.

  Modified files:
    trunk/test/rdoc/minitest_helper.rb
Index: test/rdoc/minitest_helper.rb
===================================================================
--- test/rdoc/minitest_helper.rb	(revision 65612)
+++ test/rdoc/minitest_helper.rb	(revision 65613)
@@ -1,7 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/test/rdoc/minitest_helper.rb#L1
 # 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
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]