Read more

Opening Rubymine projects from the command line

Dominik Schöler
June 17, 2011Software engineer at makandra GmbH

To activate the shell command, go to Tools > Create Command-line Launcher and confirm.

Illustration UI/UX Design

UI/UX Design by makandra brand

We make sure that your target audience has the best possible experience with your digital product. You get:

  • Design tailored to your audience
  • Proven processes customized to your needs
  • An expert team of experienced designers
Read more Show archive.org snapshot

Now you have mine as bash command. Run this to open a project in RubyMine:

mine path/to/my_project

Booting Rubymine

The mine script will attach the opened project to a current Rubymine instance. If there is none, it will run Rubymine right there on your command line.

To move Rubymine to the background and suppress log messages you can create your own shell script (vim ~/bin/rubymine):

#!/bin/sh
( mine "$@" & ) > /dev/null 2>&1

By using rubymine, you now can even boot Rubymine from the command line.

Posted by Dominik Schöler to makandra dev (2011-06-17 10:59)