ruby/rubygems · error · Gem::Exception
Unable to download '#{spec.full_name}'
Error message
Unable to download '#{spec.full_name}' What it means
Error "Unable to download '#{spec.full_name}'" thrown in ruby/rubygems.
Source
Thrown at lib/rubygems/source/specific_file.rb:41
end
##
# The Gem::Specification extracted from this .gem.
attr_reader :spec
def load_specs(*a) # :nodoc:
[@name]
end
def fetch_spec(name) # :nodoc:
return @spec if name == @name
raise Gem::Exception, "Unable to find '#{name}'"
end
def download(spec, dir = nil) # :nodoc:
return @path if spec == @spec
raise Gem::Exception, "Unable to download '#{spec.full_name}'"
end
def pretty_print(q) # :nodoc:
q.object_group(self) do
q.group 2, "[SpecificFile:", "]" do
q.breakable
q.text @path
end
end
end
##
# Orders this source against +other+.
#
# If +other+ is a SpecificFile from a different gem name +nil+ is returned.
#
# If +other+ is a SpecificFile from the same gem name the versions are
# compared using Gem::Version#<=>View on GitHub (pinned to 86cbb817a3)
Solutions
- Check network/source availability and retry the download
- Verify the gem version exists on the configured source
When it happens
Trigger: Thrown at lib/rubygems/source/specific_file.rb:41 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of ruby/rubygems@86cbb817a3 (2026-08-23).
Data as JSON: /api/errors/08678f471de29d7f.
Report an issue: GitHub.