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 , , , .