Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rails/HttpStatus cop fails because Rack is missing #143

Open
andyw8 opened this issue Dec 6, 2018 · 1 comment
Open

Rails/HttpStatus cop fails because Rack is missing #143

andyw8 opened this issue Dec 6, 2018 · 1 comment
Assignees

Comments

@andyw8
Copy link
Contributor

andyw8 commented Dec 6, 2018

If the rack gem isn't present, the engine emits errors such as:

An error occurred while Rails/HttpStatus cop was inspecting /code/app/controllers/errors_controller.rb:6:4.

See https://github.com/rubocop-hq/rubocop/issues/5745

A PR was opened rubocop/rubocop#5707 but didn't get merged.

@koic
Copy link

koic commented Jul 2, 2019

I think that this issue is solved in RuboCop Rails gem.

Please use RuboCop Rails gem when using Rails cops because these cops has been removed from RuboCop 0.72.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants