From 44b3b614bdf22108f66d49aed22c6281327b7bb4 Mon Sep 17 00:00:00 2001 From: Vinoth Kannan Date: Mon, 1 Nov 2021 17:58:24 +0530 Subject: [PATCH] Revert "DEV: Avoid duplication of gems in gemfile." (#14784) This reverts commit 2818ebd19fc101faba6e28ca09c6d762034dc760. --- Gemfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index e09839e88af..9cdfbf21a9d 100644 --- a/Gemfile +++ b/Gemfile @@ -181,9 +181,14 @@ group :development do gem 'yaml-lint' end -group ENV["ALLOW_DEV_POPULATE"] == "1" ? :production : :development do +if ENV["ALLOW_DEV_POPULATE"] == "1" gem 'discourse_dev_assets' gem 'faker', "~> 2.16" +else + group :development do + gem 'discourse_dev_assets' + gem 'faker', "~> 2.16" + end end # this is an optional gem, it provides a high performance replacement