ruby-changes:54044
From: k0kubun <ko1@a...>
Date: Fri, 7 Dec 2018 08:16:05 +0900 (JST)
Subject: [ruby-changes:54044] k0kubun:r66263 (trunk): test_gem_package_task.rb: suppress random failure
k0kubun 2018-12-07 08:16:01 +0900 (Fri, 07 Dec 2018) New Revision: 66263 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66263 Log: test_gem_package_task.rb: suppress random failure by Bundler. http://ci.rvm.jp/results/trunk-vm-asserts@silicon-docker/1500762 Modified files: trunk/test/rubygems/test_gem_package_task.rb Index: test/rubygems/test_gem_package_task.rb =================================================================== --- test/rubygems/test_gem_package_task.rb (revision 66262) +++ test/rubygems/test_gem_package_task.rb (revision 66263) @@ -1,9 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_package_task.rb#L1 # frozen_string_literal: true require 'rubygems/test_case' require 'rubygems' +require 'bundler/errors' begin require 'rubygems/package_task' -rescue LoadError +rescue LoadError, Bundler::GemfileNotFound end class TestGemPackageTask < Gem::TestCase -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/