Revert "DEV: Avoid duplication of gems in gemfile." (#14784)

Revert “DEV: Avoid duplication of gems in gemfile.” (#14784)

This reverts commit 2818ebd19fc101faba6e28ca09c6d762034dc760.

diff --git a/Gemfile b/Gemfile
index e09839e..9cdfbf2 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

GitHub sha: 44b3b614bdf22108f66d49aed22c6281327b7bb4

This commit appears in #14784 which was approved by OsamaSayegh. It was merged by vinothkannans.