Installation

This gem implicitly depends on the rubocop-rspec gem, so you should install it first. Just install the rubocop-rspec and rubocop-rspec_rails gem

gem install rubocop-rspec rubocop-rspec_rails

or if you use bundler put this in your Gemfile

gem 'rubocop-rspec', require: false
gem 'rubocop-rspec_rails', require: false