Use command + option + R to open the Ruby/Rails quick list. This is useful for when you want to rerun a test you ran several tests ago.īy default, this dialog also includes commands to run a development server, and your entire test suite. The run dialog lists recently run programs. Open the run dialog with control + alt/option + R. Press control + shift + R within an individual test to run just that test. In a test file, press control + shift + R outside of any individual test to run all the tests in the file.
Use command + shift + to navigate between multiple running programs. Stop a running program with command + F2. Press command + 4 to open the Run tool window. These commands are commonly used to run test files, but they could also be used to run a simple Ruby script.Īll running programs are displayed in the Run tool window.
To run a file, open the file in the editor or select the file in the project tool window, then press control + shift + R.
In this post, we’ll learn how to run programs in RubyMine on OS X allowing you to stay in RubyMine all day long. RubyMine, an Integrated Development Environment, can eliminate this tedious back and forth workflow.
During development, you’re constantly switching between your editor and these external terminals. A typical Rails development environment includes an editor, a terminal for running a web server, and a utility terminal for managing files, using version control, running tests, etc.