Skip to content

Rails/HttpStatus cop fails because Rack is missing #143

Open
@andyw8

Description

@andyw8

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions