summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-08-20 16:07:43 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-08-20 16:07:43 +0900
commitdd58c4ba3576d5dc1489767a25de9540b79b0ef9 (patch)
treee15fc58690a39c1bd9a8289ff6990488dc47e0ea /spec
parent5a384e2c08704dc7af9d8d3bdfc475eb8c0723aa (diff)
Investigation of a sporadic error at Github Actions
Diffstat (limited to 'spec')
-rw-r--r--spec/bundler/support/indexes.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/bundler/support/indexes.rb b/spec/bundler/support/indexes.rb
index b76f493d01..63c598b468 100644
--- a/spec/bundler/support/indexes.rb
+++ b/spec/bundler/support/indexes.rb
@@ -27,6 +27,12 @@ module Spec
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)