tags:

views:

34

answers:

1

Hi,

I'm working on a set of gems for my application.

When installing any of my own gems, the gem program will check rubugems specs (possibly for dependencies). With a verbose flag I can see messages like :

GET http://rubygems.org/latest_specs.4.8.gz
302 Found
GET http://production.s3.rubygems.org/latest_specs.4.8.gz
200 OK
GET http://rubygems.org/specs.4.8.gz

The issue is that I'm working on those gems, and that I package/reinstall a number of times every day, and the installation process is quite long.

As I'm pretty sure that all the external gem dependencies are satisfied, is there a way to tel gem not to check the dependencies from rubygems.org, and avoid, possibly slow http traffic ?

Regards,

_dl

A: 

Are you using jeweler to create the gem?

You can use rake install to install the gem

jordinl
No we don't use jeweler, the gem is installed as a part of a process where the gem command line is invoked. So I really need a gem option and --ignore-dependencies does exactly what I need.
devlearn