How to install gem package manually?

Hello everyone,
I’d like to install gem package like ruby-debug, mini magick, etc …,
but I don’t have access to gem at my development machine.

Is there a way to install those package manually ?

Thank you

On May 7, 2007, at 4:13 AM, Lalala L. wrote:

I’d like to install gem package like ruby-debug, mini magick, etc …,
but I don’t have access to gem at my development machine.

Is there a way to install those package manually ?

don’t have access to ‘gem’ or don’t have access to the net?

if the latter, you can install a copy of gem locally and then use it
to install gems from local copies of the gem packages. if the
former, you can expand gems into a local dir and have rails include
from there, although this will take some trickery – you might look
at what “rake rails:freeze:gems” does.

-faisal

Faisal N Jawdat wrote:

On May 7, 2007, at 4:13 AM, Lalala L. wrote:

I’d like to install gem package like ruby-debug, mini magick, etc …,
but I don’t have access to gem at my development machine.

Is there a way to install those package manually ?

don’t have access to ‘gem’ or don’t have access to the net?

if the latter, you can install a copy of gem locally and then use it
to install gems from local copies of the gem packages. if the
former, you can expand gems into a local dir and have rails include
from there, although this will take some trickery – you might look
at what “rake rails:freeze:gems” does.

-faisal

I don’t have access to this http://rubyforge.org/frs/?group_id=126
How can I install ruby-debug, or mini-magick without having that?

thank you

Maybe you could use Dr. Nick’s GemsOnRails:

http://drnicwilliams.com/2007/02/09/railsrally-2007-and-gemsonrails/

It allows you to install gems into your vendor directory. Then you
should
be able to deploy the app back up to your server with the gems your
rails
apps needs.

Works pretty well for me.

Terry

On 5/7/07, Faisal N Jawdat [email protected] wrote:

need to re-install them. This is particularly useful for engineers
who travel, and thus will have copies on their laptops.

-faisal


Terry (TAD) Donaghe

I was hoping I could simply d/l and extract it to vendor, guess there’s
more than
that.

I will try these inputs

Thank you

On May 7, 2007, at 1:45 PM, Lalala L. wrote:

I don’t have access to this http://rubyforge.org/frs/?group_id=126
How can I install ruby-debug, or mini-magick without having that?

You’ll need to download every one of the gems you need, and their
dependency chain, and somehow get them to your dev boxes. I’ve heard
of people doing this with keychain drives, etc. I’m a fan of keeping
copies of the gems you’re using in your source repository in case you
need to re-install them. This is particularly useful for engineers
who travel, and thus will have copies on their laptops.

-faisal

Hey,

Are you sure you’re talking about gems, not rails plugins?

gem --help
gem list -r
gem install

or if you already have a gem file, just

gem install

Cheers,
Yuri

On 5/10/07, Lalala L. [email protected] wrote:

Posted via http://www.ruby-forum.com/.


Best regards,
Yuri L.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs