{"record":{"id":"e35b8a7910e6b1ea","repo":"ruby/rubygems","slug":"could-not-find-s-full-name-in-any-of-the-source","errorCode":null,"errorMessage":"Could not find #{s.full_name} in any of the sources","messagePattern":"Could not find #(.+?) in any of the sources","errorType":"exception","errorClass":"GemNotFound","httpStatus":null,"severity":"error","filePath":"lib/bundler/spec_set.rb","lineNumber":137,"sourceCode":"    end\n\n    def to_hash\n      lookup.dup\n    end\n\n    def materialize(deps)\n      materialize_dependencies(deps)\n\n      SpecSet.new(materialized_specs)\n    end\n\n    # Materialize for all the specs in the spec set, regardless of what platform they're for\n    # @return [Array<Gem::Specification>]\n    def materialized_for_all_platforms\n      @specs.map do |s|\n        next s unless s.is_a?(LazySpecification)\n        spec = s.materialize_for_cache\n        raise GemNotFound, \"Could not find #{s.full_name} in any of the sources\" unless spec\n        spec\n      end\n    end\n\n    def incomplete_for_platform?(deps, platform)\n      incomplete_specs_for_platform(deps, platform).any?\n    end\n\n    def incomplete_specs_for_platform(deps, platform)\n      return [] if @specs.empty?\n\n      validation_set = self.class.new(@specs)\n      validation_set.for(deps, [platform])\n      validation_set.incomplete_specs\n    end\n\n    def missing_specs_for(deps)\n      materialize_dependencies(deps)","sourceCodeStart":119,"sourceCodeEnd":155,"githubUrl":"https://github.com/ruby/rubygems/blob/86cbb817a38ce8477b181c17467a703ded3f2be8/lib/bundler/spec_set.rb#L119-L155","documentation":"Error \"Could not find #{s.full_name} in any of the sources\" thrown in ruby/rubygems.","triggerScenarios":"Thrown at lib/bundler/spec_set.rb:137 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"86cbb817a38ce8477b181c17467a703ded3f2be8","analyzedAt":"2026-08-23T06:27:48.159Z","schemaVersion":2},"datasetVersion":"2026-08-23T08:06:27.607Z"}