# Seek repositories in RubyGems

**URL:** <https://www.ruby-forum.com/t/seek-repositories-in-rubygems/115683>\
**Category:** Ruby\
**Created:** [September 27, 2007, 5:22pm UTC](https://www.ruby-forum.com/t/seek-repositories-in-rubygems/115683 "2007-09-27T17:22:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![asmo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ea666f/32.png) [@asmo](https://www.ruby-forum.com/u/asmo)\
**Post date:** [September 27, 2007, 5:22pm UTC](https://www.ruby-forum.com/t/seek-repositories-in-rubygems/115683/1 "2007-09-27T17:22:40Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![asmo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ea666f/32.png) [@asmo](https://www.ruby-forum.com/u/asmo)\
**Post date:** [September 27, 2007, 6:13pm UTC](https://www.ruby-forum.com/t/seek-repositories-in-rubygems/115683/2 "2007-09-27T18:13:10Z")

</div>

On Sep 27, 2007, at 08:21 , Marcin G. wrote:

> 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

---

<div class="post-metadata">

**Author:** ![asmo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ea666f/32.png) [@asmo](https://www.ruby-forum.com/u/asmo)\
**Post date:** [September 27, 2007, 6:15pm UTC](https://www.ruby-forum.com/t/seek-repositories-in-rubygems/115683/3 "2007-09-27T18:15:31Z")

</div>

On Sep 27, 2007, at 10:21 AM, Marcin G. 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
