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

ruby-changes:57189

From: Nobuyoshi <ko1@a...>
Date: Tue, 20 Aug 2019 16:29:33 +0900 (JST)
Subject: [ruby-changes:57189] Nobuyoshi Nakada: dd58c4ba35 (master): Investigation of a sporadic error at Github Actions

https://git.ruby-lang.org/ruby.git/commit/?id=dd58c4ba35

From dd58c4ba3576d5dc1489767a25de9540b79b0ef9 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Tue, 20 Aug 2019 16:07:43 +0900
Subject: Investigation of a sporadic error at Github Actions


diff --git a/spec/bundler/support/indexes.rb b/spec/bundler/support/indexes.rb
index b76f493..63c598b 100644
--- a/spec/bundler/support/indexes.rb
+++ b/spec/bundler/support/indexes.rb
@@ -27,6 +27,12 @@ module Spec https://github.com/ruby/ruby/blob/trunk/spec/bundler/support/indexes.rb#L27
       end
       source_requirements ||= {}
       Bundler::Resolver.resolve(deps, @index, source_requirements, *args)
+    rescue NoMethodError => e
+      if e.receiver.is_a?(String) and e.name == :name
+        PP.pp([deps, @index, source_requirements, *args], STDERR)
+        STDERR.puts e.message, e.backtrace
+      end
+      raise
     end
 
     def should_resolve_as(specs)
-- 
cgit v0.10.2


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

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