IntelliJ IDEA 2018.2 Help

Installing Gems for Testing

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.

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: 20 November 2018