diff --git a/CHANGELOG.md b/CHANGELOG.md index 578e8e985..219102174 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ * [#2507](https://github.com/ruby-grape/grape/pull/2507): Fix type: Set with values - [@nikolai-b](https://github.com/nikolai-b). * [#2510](https://github.com/ruby-grape/grape/pull/2510): Fix ContractScope's validator inheritance - [@ericproulx](https://github.com/ericproulx). * [#2521](https://github.com/ruby-grape/grape/pull/2521): Fixed typo in README - [@datpmt](https://github.com/datpmt). +* [#2525](https://github.com/ruby-grape/grape/pull/2525): Require logger before active_support - [@ericproulx](https://github.com/ericproulx). * Your contribution here. ### 2.2.0 (2024-09-14) diff --git a/lib/grape.rb b/lib/grape.rb index 963e37364..ed6f9058a 100644 --- a/lib/grape.rb +++ b/lib/grape.rb @@ -1,5 +1,6 @@ # frozen_string_literal: true +require 'logger' require 'active_support' require 'active_support/concern' require 'active_support/configurable' @@ -33,7 +34,6 @@ require 'dry-types' require 'forwardable' require 'json' -require 'logger' require 'mustermann/grape' require 'pathname' require 'rack'