Over a million developers have joined DZone.

Open Gem With Textmate

open_gem is a rubygem. It adds a Gem Command to easily open a ruby gem with an editor. The Editor is specified with the -c option (or in $GEM_OPEN_EDITOR or $EDITOR). After Installation 

$ sudo gem update --system
$ sudo gem install open_gem

this is the Syntax

$ gem open name_of_the_gem_to_open -c name_of_the_editor

and this Example opens 'open_gem' with 'textmate'

$ gem open open_gem -c mate


{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}