Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (11 sloc) 510 Bytes


gem-open opens the source directory of the given gem.


To open the directory of the latest version of the given gem.

$ gem open rake

To open the directory of a specific version.

$ gem open rake -v 0.8.7

To open the directory by Mac OS X Finder.

$ GEM_EDITOR=open gem open rake

The program used to open the directory is taken from first found one from the environment variables GEM_EDITOR, VISUAL or EDITOR.

Something went wrong with that request. Please try again.