How to use unpacked GEMS

I have discovered the command unpack for gems. This is very conveinent
since I cannot get onto the net at work where I want to install some
gems.

Once I have unpacked them, what do I do with them?

Daniel ----- wrote:

I have discovered the command unpack for gems. This is very conveinent
since I cannot get onto the net at work where I want to install some
gems.

Once I have unpacked them, what do I do with them?

Well, if you want to install them, don’t unpack them. If you don’t have
net access, just copy the gems directly to a local directory and then
install them with the gem command. E.g.

gem install some-gem-1.0.0.gem

Where some-gem-1.0.0.gem is a local file. No need to do any unpacking
if this is all you need.

Be aware that the gem command does not process dependencies when doing a
local install, so you have to make sure all the dependencies are
properlly instaled as well.

– Jim W.

Is there a convienient way to download the gems and their dependencies
and
just storing the .gem files?

say something like
gem download rails --include-dependencies

Cheers Thanx for the info

Daniel ----- wrote:

Is there a convienient way to download the gems and their dependencies
and
just storing the .gem files?

say something like
gem download rails --include-dependencies

Interesting idea, but no, gems doesn’t do that today.

– Jim W.