IntelliJ IDEA 2017.3 Help

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.

Prerequisites

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.
    ij assigning ruby sdk for a project
Last modified: 6 March 2018