Skip to content

Gemedit lets you quickly open up the source for a gem in your favorite editor.

License

Notifications You must be signed in to change notification settings

lmarlow/gemedit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f02a509 · Sep 28, 2011

History

55 Commits
Sep 28, 2011
Sep 28, 2011
Sep 28, 2011
Jan 11, 2011
Sep 23, 2011
Oct 26, 2010
Sep 28, 2011
Jan 11, 2011
Sep 23, 2011
Sep 28, 2011
Sep 23, 2011
Sep 28, 2011

Repository files navigation

Gemedit

github.com/lmarlow/gemedit

by Lee Marlow and contributors

<img src=“http://travis-ci.org/lmarlow/gemedit.png” />

DESCRIPTION:

Gemedit lets you quickly open up the source for a gem in your favorite editor.

Looking through other people’s code is a great way to learn. I often use it when a gem’s RDoc isn’t as helpful as I’d like or just want to see how someone put a library together. Gemedit just makes it easier to get to the code.

INSTALLATION:

Gemedit is installed via RubyGems and is available as a gem command:

$ gem install gemedit

USAGE:

If you want to see how gemedit works just install it and run this:

$ gem edit gemedit

Gemedit tries to use your favorite editor from your $GEMEDITOR, $VISUAL or $EDITOR environment variable. It will fall back to everyone’s favorite editor: vi. You can specify the editor with the -e/--editor switch. Run this to view the source for rake in TextMate:

$ gem edit -e mate rake

And of course, help is available:

$ gem edit -h
$ gem edit --help

SOURCE REPOSITORY:

The source is currently on github at github.com/lmarlow/gemedit. Feel free to fork it and submit pull requests.

$ git clone https://github.com/lmarlow/gemedit.git

About

Gemedit lets you quickly open up the source for a gem in your favorite editor.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages