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 use the Ruby that comes with 10.9, gems are installed in
If you use a Ruby installed with Homebrew, gems are installed in
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.