annotate config/default_config.rb @ 245:8dfbf854fad3

Default bundler group according to 4.0.
author Edho Arief <edho@myconan.net>
date Fri, 09 Aug 2013 08:43:08 +0000
parents 5466704c87ee
children 96631607785f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
165
5466704c87ee I mean this.
Edho Arief <edho@myconan.net>
parents: 164
diff changeset
1 CONFIG['standalone'] = true if CONFIG['standalone'].nil?
5466704c87ee I mean this.
Edho Arief <edho@myconan.net>
parents: 164
diff changeset
2 CONFIG['newrelic'] = false if CONFIG['newrelic'].nil?
245
8dfbf854fad3 Default bundler group according to 4.0.
Edho Arief <edho@myconan.net>
parents: 165
diff changeset
3 CONFIG['bundler_groups'] ||= [:default, Rails.env]
147
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']