From c928287e0cb2fe1510c321d8e2695f45095426e1 Mon Sep 17 00:00:00 2001 From: OsamaSayegh Date: Wed, 11 Mar 2020 21:31:57 +0300 Subject: [PATCH] DEV: Mini Profiler shouldn't be loaded in test environment --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 73f97c05334..0fad51edf9f 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: ['enable_rails_patches'] +gem 'rack-mini-profiler', require: ['enable_rails_patches'], group: [:development, :production] gem 'unicorn', require: false, platform: :mri gem 'puma', require: false