Fix "NameError: uninitialized constant Rack::Proxy" in production environment
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?
-
Changelog entry added -
Documentation created/updated -
API support added - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together