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
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.Sign up to join this community
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.