On Tue, Jan 25, 2011 at 9:41 AM, Charles Oliver Nutter
<head...@headius.com> wrote:
> On Mon, Jan 24, 2011 at 4:20 PM, Luis Lavena <luislav...@gmail.com> wrote:
>>>tar tf rake-compiler-0.7.5.gem
>> data.tar.gz
>> metadata.gz
>>
>> So sees tar recognizes .gem as tar files :-)
>>
>> And file also:
>>
>>>file rake-compiler-0.7.5.gem
>> rake-compiler-0.7.5.gem: POSIX tar archive
>
> Yes, that's what I meant. A gem is a tar containing a tarball and a
> gzipped file. So I feel like just using the mime type for "tar files"
> would be fine for RubyGems.
>
> I suppose a x-rubygems mime type would convey more information, but to whom?

To programs who know how to handle a bunch of archive formats,
including both "tar" and "gem". If you treat a gem file like a tar
file, you don't get terribly useful files out of it.
_______________________________________________
Rubygems-developers mailing list
http://rubyforge.org/projects/rubygems
Rubygems-developers@rubyforge.org
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to