# Initial release of gem\_grep, a gem command plugin

**URL:** <https://www.ruby-forum.com/t/initial-release-of-gem-grep-a-gem-command-plugin/166407>\
**Category:** Ruby\
**Created:** [April 24, 2009, 10:00pm UTC](https://www.ruby-forum.com/t/initial-release-of-gem-grep-a-gem-command-plugin/166407 "2009-04-24T22:00:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ghorner](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/a183cd/32.png) [@ghorner](https://www.ruby-forum.com/u/ghorner)\
**Post date:** [April 24, 2009, 10:00pm UTC](https://www.ruby-forum.com/t/initial-release-of-gem-grep-a-gem-command-plugin/166407/1 "2009-04-24T22:00:45Z")

</div>

Hi,  
I’ve written a gem command plugin, gem grep. You’ll need the latest  
rubygems v 1.3.2 to try it out.  
gem grep enhances gem search in three ways:

1. Displays results in a well formatted ascii table. Allowing for  
detail while still maintaining one gem per line.
2. Specify a list of any gemspec attributes you’d like to see for the  
results want to see with a --columns option.
3. For local searches, search any number of gemspec attributes with a  
–fields option.

Some examples:

> **[Tagaholic - How To Write A RubyGem Command Plugin](http://tagaholic.me/2009/04/23/how-to-write-a-rubygem-command-plugin.html#examples)**
>
> The latest rubygems has a hot new feature, the ability to plugin in your own commands. In this post, I'll walk you through how to write a gem command plugin, using my own gem grep command as an...

Homepage: [http://github.com/cldwalker-gem\_grep](http://github.com/cldwalker-gem_grep)

Install it with: gem source -a [http://gems.github.com](http://gems.github.com) && sudo gem  
install cldwalker-gem\_grep

Enjoy!  
Gabriel

---

<div class="post-metadata">

**Author:** ![ghorner](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/a183cd/32.png) [@ghorner](https://www.ruby-forum.com/u/ghorner)\
**Post date:** [April 24, 2009, 11:56pm UTC](https://www.ruby-forum.com/t/initial-release-of-gem-grep-a-gem-command-plugin/166407/2 "2009-04-24T23:56:11Z")

</div>

On Apr 24, 2009, at 13:00 , ghorner wrote:

> Install it with: gem source -a [http://gems.github.com](http://gems.github.com) && sudo gem  
> install cldwalker-gem\_grep

This is awesome, but can you release it as a real gem?

---

<div class="post-metadata">

**Author:** ![ghorner](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/a183cd/32.png) [@ghorner](https://www.ruby-forum.com/u/ghorner)\
**Post date:** [April 25, 2009, 12:27am UTC](https://www.ruby-forum.com/t/initial-release-of-gem-grep-a-gem-command-plugin/166407/3 "2009-04-25T00:27:11Z")

</div>

On Apr 24, 5:55 pm, Ryan D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> On Apr 24, 2009, at 13:00 , ghorner wrote:
> 
> > Install it with: gem source -ahttp://gems.github.com&& sudo gem  
> > install cldwalker-gem\_grep
> 
> This is awesome, but can you release it as a real gem?

Glad you like it. 🙂 The above install should work for anyone.  
By real gem I guess you mean putting it up on rubyforge? I’ll drop it  
on there soon.

---

<div class="post-metadata">

**Author:** ![ghorner](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/a183cd/32.png) [@ghorner](https://www.ruby-forum.com/u/ghorner)\
**Post date:** [April 26, 2009, 2:50am UTC](https://www.ruby-forum.com/t/initial-release-of-gem-grep-a-gem-command-plugin/166407/4 "2009-04-26T02:50:57Z")

</div>

On Apr 25, 2009, at 16:35 , cldwalker wrote:

> For the rubyforge inclined, you can try this plugin with: sudo gem  
> install gem\_grep

YAY! thanks!

---

<div class="post-metadata">

**Author:** ![ghorner](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/a183cd/32.png) [@ghorner](https://www.ruby-forum.com/u/ghorner)\
**Post date:** [April 26, 2009, 1:35am UTC](https://www.ruby-forum.com/t/initial-release-of-gem-grep-a-gem-command-plugin/166407/5 "2009-04-26T01:35:35Z")

</div>

On Apr 24, 6:22 pm, cldwalker [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> By real gem I guess you mean putting it up on rubyforge? I’ll drop it  
> on there soon.

For the rubyforge inclined, you can try this plugin with: sudo gem  
install gem\_grep
