How to open installed gems in editor such Sublime Text or Text Mate or Atom?
I would like to do it from command line like:
open -a Sublime\ Text\ 2 something_here
If you are using bundler for your project, you can use
bundle open to automatically open an installed gem in your editor as specified by the EDITOR environment variable. For example,
EDITOR="subl -w" bundle open rake will open the version of rake your project is using in Sublime Text.