annotate config/default_config.rb @ 164:faded97bb095

Correct way to set default of boolean.
author Edho Arief <edho@myconan.net>
date Thu, 13 Dec 2012 18:09:24 +0700
parents d7b64b639d15
children 5466704c87ee
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
164
faded97bb095 Correct way to set default of boolean.
Edho Arief <edho@myconan.net>
parents: 156
diff changeset
1 CONFIG['standalone'] = true unless CONFIG['standalone']
faded97bb095 Correct way to set default of boolean.
Edho Arief <edho@myconan.net>
parents: 156
diff changeset
2 CONFIG['newrelic'] = false unless CONFIG['newrelic']
147
812711965af1 Added support for disabling supported web server without changing Gemfile.
Edho Arief <edho@myconan.net>
parents:
diff changeset
3 CONFIG['bundler_groups'] ||= Rails.groups(:assets => %w(development test))
812711965af1 Added support for disabling supported web server without changing Gemfile.
Edho Arief <edho@myconan.net>
parents:
diff changeset
4 CONFIG['bundler_groups'] << 'standalone' if CONFIG['standalone']
156
d7b64b639d15 Disable newrelic by default (configurable).
Edho Arief <edho@myconan.net>
parents: 147
diff changeset
5 CONFIG['bundler_groups'] << 'newrelic' if CONFIG['newrelic']