diff --git a/Gemfile b/Gemfile index 278e0fb961c..73f97c05334 100644 --- a/Gemfile +++ b/Gemfile @@ -205,7 +205,7 @@ gem 'htmlentities', require: false # we are open to it. by deferring require to the initializer we can configure discourse installs without it gem 'flamegraph', require: false -gem 'rack-mini-profiler', require: false +gem 'rack-mini-profiler', require: ['enable_rails_patches'] gem 'unicorn', require: false, platform: :mri gem 'puma', require: false diff --git a/Gemfile.lock b/Gemfile.lock index bc54d3f593b..4a682471dcf 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -268,7 +268,7 @@ GEM nio4r (~> 2.0) r2 (0.2.7) rack (2.0.8) - rack-mini-profiler (1.1.6) + rack-mini-profiler (2.0.1) rack (>= 1.2.0) rack-protection (2.0.8.1) rack