[Rubygems-developers] query_command.rb question and patch
thewoolleyman at gmail.com
Sun Apr 6 14:13:06 EDT 2008
On Sun, Apr 6, 2008 at 12:37 AM, Jos Backus <jos at catnook.com> wrote:
> Understood. However, I also need the remote case to work for Puppet as it has
> the ability to install the `latest' gem, so I need to be able to retrieve the
> names and versions of remote gems. Pointers appreciated.
Invoke GemRunner with the appropriate ['--list','--remote','etc...'] options.
For examples, look at GemInstaller:
Could probably be improved, I have to do manual parsing of results.
An option to return a data structure would be better.
More information about the Rubygems-developers