Unpack *.gem

Hi all.

Some good and interesting library at rubyforge can be downloaded only as
*.gem

The question is: is there method for unpack library and view its source and
docs *without* installing it?

I need such functionality very oftenly (in my local HDD repository there are
93 libraries I've downloaded to study their code and docs, and only ~10-20
of them I currently use; so I don't want unused libraries to be installed at
all).

Thanks.

Victor.

Gems are just tar files. You can use tar -xvf some.gem to extract them.

ยทยทยท

On May 2, 2006, at 8:54 PM, Victor Shepelev wrote:

Hi all.

Some good and interesting library at rubyforge can be downloaded only as
*.gem

The question is: is there method for unpack library and view its source and
docs *without* installing it?

I need such functionality very oftenly (in my local HDD repository there are
93 libraries I've downloaded to study their code and docs, and only ~10-20
of them I currently use; so I don't want unused libraries to be installed at
all).

Thanks.

Victor.

> Hi all.
>
> Some good and interesting library at rubyforge can be downloaded
> only as
> *.gem
>
> The question is: is there method for unpack library and view its
> source and
> docs *without* installing it?
>
> I need such functionality very oftenly (in my local HDD repository
> there are
> 93 libraries I've downloaded to study their code and docs, and only
> ~10-20
> of them I currently use; so I don't want unused libraries to be
> installed at
> all).
>
> Thanks.
>
> Victor.
>
>

Gems are just tar files. You can use tar -xvf some.gem to extract them.

Thanks Logan.
I should guess it by myself :slight_smile:

V.