Executing Rails development tasks sometimes involves overheads, because every time the entire Rails environment should be reloaded. You can avoid it using the Zeus server, which loads the environment only once.
- Debugging Rails Applications Under Zeus
- Debugging Rake Tasks Under Zeus
- Executing Tests on Zeus Server
- You are working with OS X or Linux operating system.
- Prior to launching Zeus server, make sure zeus gem,
and the corresponding testing gems (
cucumber-rails, etc.) are used in your application.
- It is possible to run Zeus server without adding zeus gem to Gemfile. It is enough to install the zeus gem to the currently selected sdk/gemset.
Changes to the UI
- As soon, as zeus is added to your application, the command Tools | Run Zeus server... appears on the main menu.
- Default run/debug configuration for Zeus server is added.
When Zeus server is launched for the first time, RubyMine creates a temporary run/debug configuration. Later you can change this run/debug configuration as required, save it as permanent, and use it to run the server.
To launch Zeus server
- On the main menu, choose Tools | Run Zeus server... .
The Zeus server starts in a separate tab of the Run tool window.
Managing Zeus server
Refer to the description of the Run tool window. In particular, use the following buttons:
- - stop the Zeus server without closing its tab in the Run tool window.
- - close the Zeus server tab.
- - rerun Zeus server in the same tab.