Working with RubyMine Features from Command Line
Besides working from within RubyMine, you can perform the following actions from the command line:
Enable a command-line launcher on Windows
- Add the path to the RubyMine
binfolder to the
Pathenvironment variable (for example,
C:\Program Files\JetBrains\RubyMine\bin). After you configured the
Pathenvironment variable, you can run the RubyMine commands.
Enable a command-line launcher on Linux and macOS
On macOS and Linux, create the command-line launcher to integrate RubyMine with your shell. Ensure that the created launcher script is within the search path of your shell so that it can be invoked system-wide.
- In the main menu, choose Create Launcher Script dialog, provide the name and the path of the launcher, or accept the suggested values. . In the
- Outside of RubyMine, add the path and the name of the launcher script to your
To launch RubyMine from the command line
- To launch RubyMine from the command line, type the
<RubyMine>command in the command line and press Enter.
<RubyMine>is the platform-specific launcher.