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 online protection

Rails Long Term Support

Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)

  • Prevents you from data breaches and liability risks
  • Upgrade at your own pace
  • Works with modern Rubies
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)