[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Seek repositories in RubyGems

Marcin Grzywaczewski

9/27/2007 3:22:00 PM

That's possible? As an example I'll present the APT (Debian Package System)...

killavus@manganux:~ apt-cache search ruby
ruby - An interpreter of object-oriented scripting language Ruby
ruby-elisp - Emacs-lisp ruby-mode for Ruby
ruby-full - Ruby full installation
ruby-gnome2 - GNOME-related bindings for the Ruby language
ruby-pkg-tools - Tools for building Debian Ruby packages
ruby-prof - A fast code profiler for Ruby
ruby1.8 - Interpreter of object-oriented scripting language Ruby 1.8

And so on... There are a command which could seek a gem repositories for what
I need by phrase?

Yours,
Killavus.

2 Answers

Eric Hodel

9/27/2007 4:13:00 PM

0

On Sep 27, 2007, at 08:21 , Marcin Grzywaczewski wrote:

> That's possible? As an example I'll present the APT (Debian Package
> System)...
>
> killavus@manganux:~ apt-cache search ruby
> ruby - An interpreter of object-oriented scripting language Ruby
> ruby-elisp - Emacs-lisp ruby-mode for Ruby
> ruby-full - Ruby full installation
> ruby-gnome2 - GNOME-related bindings for the Ruby language
> ruby-pkg-tools - Tools for building Debian Ruby packages
> ruby-prof - A fast code profiler for Ruby
> ruby1.8 - Interpreter of object-oriented scripting language Ruby 1.8
>
> And so on... There are a command which could seek a gem
> repositories for what
> I need by phrase?

gem search.

Try also:

gem help commands

Lyle Johnson

9/27/2007 4:15:00 PM

0


On Sep 27, 2007, at 10:21 AM, Marcin Grzywaczewski wrote:

> And so on... There are a command which could seek a gem
> repositories for what
> I need by phrase?

To search your locally installed gems:

gem search foo

To search the remotely available gems (which is probably what you want):

gem search foo --remote

Hope this helps,

Lyle