OpenGem: A Handy Gem Plugin
Just thought folks might be interested in OpenGem. It’s a little ruby gem plugin that lets you type in: gem open rails and open it up right in your editor. If you’re curious about writing a plugin for ruby gems it’s probably a decent starting place.
Comments
Wow… closing tag fail. Sorry folks.
I really wanted this to work since I can never remember the right path to my gems directory, but It isn’t working for me…
$ sudo gem install adamsanderson-open_gem Password: Successfully installed adamsanderson-open_gem-1.0.0 1 gem installed $ gem open rails ERROR: While executing gem … (RuntimeError) Unknown command open
fwiw: $ gem -v 1.3.1
semanticart: Plugins only work on 1.3.2+.
thanks, Peter!
Just to make life simpler for anyone else having issues. To upgrade RubyGems:
gem update --systemI always forget the code and have to look it up myself.. :)
C:>gem open watir Either set $EDITOR, or use -c
How do set the editor and not sure what to use in the -c option?
If I type in “gem open open_gem”, will the universe implode?
Post a comment