[Rubygems-developers] Pointing gem clients to local server(s) ONLY
drbrain at segment7.net
Thu Apr 19 12:23:43 EDT 2007
On Apr 18, 2007, at 15:05, Jos Backus wrote:
> I'm trying to solve the problem of not being able to easily
> automate which
> version of a particular gem will be installed by controlling the
> list of gems
> available to the gem client. As an example, `gem install mysql'
> offers a
> dialog because http://gems.rubyforge.org lists multiple available
> versions of
> this gem.
> Additionally, `gem list -r --source http://myhost:8808' consults
> more than
> just http://myhost:8808, it also consults http://gems.rubyforge.org
> which I
> don't want it to. I.e. if `--source' is specified, its values
> should override
> the values produced by `gem sources'. Does that make sense?
Please file a bug.
> This post suggests patching and rebuilding the rubygems sources:
This link is gone.
> Is there a better way of doing this, possibly planned for 0.9.3?
Yes, see the bugs list.
You may be able to work around this using the sources subcommand to
remove rubyforge's repository.
More information about the Rubygems-developers