/open_gem

Gem Command to easily open a ruby gem with the editor of your choice. (For a more flexible solution, see Qwandry)

Primary LanguageRuby

OpenGem

Simply opens the specified gem in your default editor.

gem open rails

If you just want to read documentation you can do:

gem read activerecord

If you just want to browse the source code in a shell you can do:

gem shell activerecord

Installation:

OpenGem require rubygems 1.3.6 or higher. You may need to update rubygems to take advantage of the new plugin support:

gem update --system

Just install with gem:

gem install open_gem

For more help:

gem open --help

Adam Sanderson, netghost@gmail.com