Skip to content

A platform for community discussion. Free, open, simple.

DEV: Avoid duplication of gems in gemfile.

Alan Guo Xiang Tan2818ebd19fc1
diff --git a/Gemfile b/Gemfile
index efd3fd5c34f..11e2dcb49dd 100644
--- a/Gemfile
+++ b/Gemfile
@@ -177,14 +177,9 @@ group :development do
gem 'yaml-lint'
end
-if ENV["ALLOW_DEV_POPULATE"] == "1"
+group ENV["ALLOW_DEV_POPULATE"] == "1" ? :production : :development do
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