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:
>
>     http://rambleon.org/2007/02/13/creating-your-own-gem-server/

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.
_______________________________________________
Rubygems-developers mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to