Skip to content

Commit

Permalink
Avoid problem with peer dependency
Browse files Browse the repository at this point in the history
rubocop-rspec_rails is a new dependency of rubocop-rspec.

Its HttpStatus cop only exists if the rake gem is present (!!!!!)

Causes this error:

    Error: unrecognized cop or department RSpecRails/HttpStatus found in
    .../gems/rubocop-rspec_rails-2.28.1/config/default.yml
joeyates committed Mar 30, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 009dec5 commit 5a084dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ group :development do
gem "aruba", ">= 0.0.0"
gem "pry-byebug"
gem "rspec", ">= 3.0.0"
gem "rubocop-rspec"
gem "rubocop-rspec", "2.27.1"
gem "simplecov"
gem "webrick"
gem "yard"

0 comments on commit 5a084dc

Please sign in to comment.