DEV: Avoid duplication of gems in gemfile.

Follow-up to 08c6a7679d
This commit is contained in:
Alan Guo Xiang Tan 2021-07-28 09:39:57 +08:00
parent 1b649016d9
commit 2818ebd19f

View File

@ -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