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?
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 Weirich
--
Posted via http://www.ruby-forum.com/\.
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
On 6/15/06, Jim Weirich <jim@weirichhouse.org> wrote:
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 Weirich
--
Posted via http://www.ruby-forum.com/\.
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 Weirich
--
Posted via http://www.ruby-forum.com/\.
Cheers Thanx for the info
On 6/15/06, Jim Weirich <jim@weirichhouse.org> wrote:
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-dependenciesInteresting idea, but no, gems doesn't do that today.
-- Jim Weirich
--
Posted via http://www.ruby-forum.com/\.