1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Investigation of a sporadic error at Github Actions

This commit is contained in:
Nobuyoshi Nakada 2019-08-20 16:07:43 +09:00
parent 5a384e2c08
commit dd58c4ba35
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -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)