Skip to content

Fix "NameError: uninitialized constant Rack::Proxy" in production environment

username-removed-636429 requested to merge fix-rack-proxy into master

What does this MR do?

The rack-proxy was erroneously made available only in development. Although it is used only in development, the class which relies on it still gets loaded and will complain when the class it extends does not exist.

See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7288#note_22771256

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Merge request reports