diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-08-20 16:07:43 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-08-20 16:07:43 +0900 |
commit | dd58c4ba3576d5dc1489767a25de9540b79b0ef9 (patch) | |
tree | e15fc58690a39c1bd9a8289ff6990488dc47e0ea /spec/bundler/support | |
parent | 5a384e2c08704dc7af9d8d3bdfc475eb8c0723aa (diff) | |
download | ruby-dd58c4ba3576d5dc1489767a25de9540b79b0ef9.tar.gz |
Investigation of a sporadic error at Github Actions
Diffstat (limited to 'spec/bundler/support')
-rw-r--r-- | spec/bundler/support/indexes.rb | 6 |
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) |