I'm trying to install a gem that depends on other gems, all doing this
locally without an internet connection. The Rails gem is a good
example and the one that I'm experimenting with.
First I downloaded the Rails-related gems:
C:\dev\gems>dir
Volume in drive C has no label.
Volume Serial Number is 14E7-0D73
And then I tried to install the rails gem, telling it to install all
the other gems too, and only use the local machine from which to find
the dependencies:
I'm assuming that --local means it should just look on the local
machine, or is that wrong?
Or is there a more obvious/easier way to do this? I'm tired of
installing each gem one at a time But more importantly I'm just
trying to learn the rules about how the Gems installer works.
You can pass more gems on the commandline, you'll need to pass them
in the correct order, however (from the least dependent to the most
dependent ones).
Besides that, it's possible that an easier way exists.
···
On 1/10/07, Jeff <cohen.jeff@gmail.com> wrote:
I'm on WinXP, Ruby 1.8.5, Gems 0.9.
I'm trying to install a gem that depends on other gems, all doing this
locally without an internet connection. The Rails gem is a good
example and the one that I'm experimenting with.
First I downloaded the Rails-related gems:
C:\dev\gems>dir
Volume in drive C has no label.
Volume Serial Number is 14E7-0D73
And then I tried to install the rails gem, telling it to install all
the other gems too, and only use the local machine from which to find
the dependencies:
I'm assuming that --local means it should just look on the local
machine, or is that wrong?
Or is there a more obvious/easier way to do this? I'm tired of
installing each gem one at a time But more importantly I'm just
trying to learn the rules about how the Gems installer works.
RubyGems doesn't currently support this. I've got it scheduled for 0.9.2.
···
On Jan 10, 2007, at 13:10, Jeff wrote:
And then I tried to install the rails gem, telling it to install all
the other gems too, and only use the local machine from which to find
the dependencies: