IntelliJ IDEA 2017.1 Help

Installing Gems for Testing

This feature is supported in the Ultimate edition only.

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:

  1. Open the Project Structure dialog (e.g. Ctrl+Shift+Alt+S), and click the node Modules.
  2. Choose the desired Ruby module.
  3. In the Gems tab, view the list of installed gems.

See Also

Last modified: 18 July 2017