Installation Just install the rubocop-rspec gem gem install rubocop-rspec or if you use bundler put this in your Gemfile gem 'rubocop-rspec'