Installing Gems for Testing
This feature is only supported in the Ultimate edition.
The following is only valid when Ruby Plugin is installed and enabled!
Using the supported testing frameworks requires the respective gems to be installed and activated in your project. Without the required gems, the corresponding context menu commands and code completion will not be available.
Before you start working with Ruby, make sure that Ruby plugin is installed and enabled. The plugin is not bundled with IntelliJ IDEA.
Also make sure that the following prerequisites are met:
- Ruby SDK is downloaded and installed on your machine.
- The required framework SDKs are downloaded and installed on your machine.
Refer to their respective download and installation pages for details:
Installing gems for testing
To install Ruby gems for testing, follow these steps:
- Open the Project Structure dialog (e.g. Ctrl+Shift+Alt+S), and click the node Modules.
- Choose the desired Ruby module.
- In the Gems tab, view the list of installed gems.