Opening Files from Command Line
Opening a file in the editor
RubyMine helps opening a file for editing so that the caret rests at the specified line.
To open a file for editing
Examples
Windows
RubyMine.exe C:\SamplesProjects\MetersToInchesConverter --line 3 C:\SamplesProjects\MetersToInchesConverter\src\javascript\numbers.js
macOS
/Applications/RubyMine.app/Contents/MacOS/rubymine ~/RubyMineProjects/untitled45 --line 1 ~/RubyMineProjects/untitled45/sample.sass
Linux
~/jetbrains/RubyMine-2017.2.1/bin/rubymine.sh ~/RubyMineProjects/test_project/ --line 2 ~/RubyMineProjects/test_project/sample.xml
Last modified: 26 October 2017