IntelliJ IDEA supports RSpec up to version 3.0.x. This section describes how to use RSpec in plain Ruby projects, and in Rails applications:
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:
RSpec 2.x Note
For RSpec 2.x, special configuration is required for the coverage options. The Rake task that launches RSpec 2.x tests with the code coverage enabled, need
RCOV_OPTS environment variable, and should be modified as shown below:
If you are going to run RSpec tests under Zeus server, make sure to use Zeus version 0.13.4.pre2, or higher.