adamsanderson / open_gem

Gem Command to easily open a ruby gem with the editor of your choice. (For a more flexible solution, see Qwandry)
http://endofline.wordpress.com
173 stars 23 forks source link

Added "gem shell <gemname>" #16

Open brockgr opened 12 years ago

brockgr commented 12 years ago

Sometimes it's nice to browse the gem source from a shell (especially for old traditionalist vi users), to this additional plugin allows you to open a shell in the gem's path.

It's based on the open_command.rb code with almost no changes.

I originally, tried to use "gem open -c bash", but turned out to be very tricky to get working.