{"record":{"id":"08678f471de29d7f","repo":"ruby/rubygems","slug":"unable-to-download-spec-full-name","errorCode":null,"errorMessage":"Unable to download '#{spec.full_name}'","messagePattern":"Unable to download '#(.+?)'","errorType":"exception","errorClass":"Gem::Exception","httpStatus":null,"severity":"error","filePath":"lib/rubygems/source/specific_file.rb","lineNumber":41,"sourceCode":"  end\n\n  ##\n  # The Gem::Specification extracted from this .gem.\n\n  attr_reader :spec\n\n  def load_specs(*a) # :nodoc:\n    [@name]\n  end\n\n  def fetch_spec(name) # :nodoc:\n    return @spec if name == @name\n    raise Gem::Exception, \"Unable to find '#{name}'\"\n  end\n\n  def download(spec, dir = nil) # :nodoc:\n    return @path if spec == @spec\n    raise Gem::Exception, \"Unable to download '#{spec.full_name}'\"\n  end\n\n  def pretty_print(q) # :nodoc:\n    q.object_group(self) do\n      q.group 2, \"[SpecificFile:\", \"]\" do\n        q.breakable\n        q.text @path\n      end\n    end\n  end\n\n  ##\n  # Orders this source against +other+.\n  #\n  # If +other+ is a SpecificFile from a different gem name +nil+ is returned.\n  #\n  # If +other+ is a SpecificFile from the same gem name the versions are\n  # compared using Gem::Version#<=>","sourceCodeStart":23,"sourceCodeEnd":59,"githubUrl":"https://github.com/ruby/rubygems/blob/86cbb817a38ce8477b181c17467a703ded3f2be8/lib/rubygems/source/specific_file.rb#L23-L59","documentation":"Error \"Unable to download '#{spec.full_name}'\" thrown in ruby/rubygems.","triggerScenarios":"Thrown at lib/rubygems/source/specific_file.rb:41 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check network/source availability and retry the download","Verify the gem version exists on the configured source"],"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"}