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

Topics:

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

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

{{ parent.tldr }}

{{ parent.urlSource.name }}