[Rubygems-developers] Issue: listing from a specified source

Gavin Sinclair gsinclair at soyabean.com.au
Fri Apr 1 11:41:35 EST 2005


Give it to Ryan and his mates.  A nice easy problem to get the weekend
started, and perhaps introduce someone to the source code.

On Saturday, April 2, 2005, 2:15:35 AM, chad wrote:

> Good catch.  We could either fix it right quick or give it to Ryan Davis,
> Eric Hodel and crew for their code fest.  Ryan, are you listening?

>> When I run
>>
>>   gem list -s http://gems.rubyonrails.org
>>
>> I get a list of my local gems and no remote ones at all.  Then I
>> notices that -s is not actually a shortcut for --source, which
>> surprised me.  Anyway
>>
>>   gem list --source http://gems.rubyonrails.org
>>
>> gave the same result: only my local gems.  It seems to me that the
>> result _should_ be NO local gems, and the gems from the specified
>> source ONLY.
>>
>>   gem list --source http://gems.rubyonrails.org -r
>>
>> gave the result I was after.  I think that result should be available
>> via the first command I tried:
>>
>>   gem list -s http://gems.rubyonrails.org
>>
>> Thoughts?
>>
>> Gavin




More information about the Rubygems-developers mailing list