annotate config/default_config.rb @ 252:49410cc6ffd6

Whoops, doesn't work with multi-process setup.
author edogawaconan <me@myconan.net>
date Thu, 10 Oct 2013 04:50:40 +0000
parents 8dfbf854fad3
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']