Run tool window
The Run tool window displays output generated by your application. For example, it can show output generated by a running Ruby script, Rails application, or test results.
![Run ruby script](https://resources.jetbrains.com/help/img/idea/2021.3/rm_new_project_ruby_run_tool_window.png)
The appearance of the Run tool window depends on the type of application being run and can include additional panes and nested tabs.
In the Run tool window, you can:
Rerun
(Ctrl+F5) or stop
(Ctrl+F2) a script, application, or console.
For tests, you can rerun a testing session, rerun only failed tests, or rerun tests automatically on changing the source code. Learn more at Run tests.
Switch between multiple running sessions separated into tabs in the top part of the window. You can use the Alt+Right/Alt+Left shortcuts to go to the next or previous tab, respectively.
You can close any tab by clicking
(Ctrl+Shift+F4). In this case, RubyMine suggests terminating a current process.
Pin
the current tab to prevent it from closing automatically after running another session.
Restore a default layout by clicking the
button.
Manage the application output using the dedicated Console toolbar. For example, you can enable soft wraps
, clear the console
, and so on.
Use the console's context menu to compare the selection and clipboard content, pause the application's output, share output as a Gist, and so on.
To learn more about actions common for all tool windows, see Tool windows.