Gem Command to easily open a ruby gem with the editor of your choice. (For a more flexible solution, see Qwandry)
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
CHANGELOG.markdown
README.markdown
Rakefile
VERSION.yml
open_gem.gemspec

README.markdown

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

Installation:

OpenGem requires rubygems 1.8.0 or higher. You may need to update rubygems:

gem update --system

Just install with gem:

gem install open_gem

For more help:

gem open --help

Adam Sanderson, netghost@gmail.com