or Create a profile
15 Feb, 2013 08:05 AM
. I had the same problem using Avira avwebgate. I sent the issue to
the avira support team and they replied that there is a broken file
in the archive http://production.cf.rubygems.org/gems/rdoc-3.12.1.gem
and the scan engine therefor stops with an error which leads to the
rejection of the file download for the user requesting the file
through the antivirus proxy engine. Looking at the archive you can
find a file binary.dat inside data.tar.gz which is inside the gems
archive. This file looks like a gziped tar archive, but can only be
extracted partially. For that reason the scan engine does decide it
I'm really not into ruby and I do not have the slightest idea
what the file binary.dat is meant for. My question is whether the
file is intentionally build the way it is and just happens to look
like a broken archive.
Here is how you can reproduce my findings using a recent version
$ tar -xf ../rdoc-3.12.1.gem tar: metadata.gz: unplausibel alter
Zeitstempel 1970-01-01 01:00:00
tar: metadata.gz.sig: unplausibel alter Zeitstempel 1970-01-01
tar: data.tar.gz: unplausibel alter Zeitstempel 1970-01-01
tar: data.tar.gz.sig: unplausibel alter Zeitstempel 1970-01-01
tar: checksums.yaml.gz: unplausibel alter Zeitstempel 1970-01-01
tar: checksums.yaml.gz.sig: unplausibel alter Zeitstempel
$ tar -xzf data.tar.gz test/binary.dat tar: test/binary.dat:
unplausibel alter Zeitstempel 1970-01-01 01:00:00
$ file test/binary.dat test/binary.dat: gzip compressed data, from
Unix, last modified: Sat May 17 19:51:10 2008
$ gunzip -S .dat test/binary.dat
gzip: test/binary.dat: unexpected end of file
$ tar -tzf test/binary.dat
gzip: stdin: unexpected end of file
tar: Unerwartetes Dateiende im Archiv.
tar: Error is not recoverable: exiting now
2 Posted by Nick Quaranto on 20 Feb, 2013 01:50 AM
"gem unpack" will do what you're looking for. Also for now on
this site is for specific issues with RubyGems.org, not RubyGems
itself. Please post questions like this to StackOverflow, where
you'll get a faster response (and karma!).
Nick Quaranto closed this discussion
on 20 Feb, 2013 01:50 AM.
Comments are currently closed for this discussion.
You can start a new one.
2 people watching.
No more actions from RubyGems.org or the discussion starter are required.
This discussion is private.
Only you and RubyGems.org support staff can see and reply to it.
This discussion is public. Everyone can see and reply to it.
Powered by Tender™.