How to open a gem for editing in RubyMine?

Does anyone know how I can use RubyMine to open a stone for editing?

If this is not possible, then how do I set RubyMine as my default editor to open the stone?

+3
source share
2 answers

On a Mac in yours ~/.bash_profile:

export EDITOR=/Applications/RubyMine.app/Contents/MacOS/rubymine

that bundle open the-gem. Adjust the taste for other OSs.

You can also use the RubyMine "Tools -> Create Command line Launcher" to create a launch script and install for it EDITOR.

, , , RubyMine, bundle open: "", , .

RubyMine , , , .

+3

GEMNAME, . github, github GEMNAME.

git URL- SSH. , .

, ~/src

git clone git @github.com: AUTHOR/GEMNAME.git

RubyMine → Open ~/src/GEMNAME

gem

gem build GEMNAME.gemspec

gem install GEMNAME.gem

0

All Articles