Mercurial > zeropaste
view 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 |
line wrap: on
line source
CONFIG['standalone'] = true unless CONFIG['standalone'] CONFIG['newrelic'] = false unless CONFIG['newrelic'] CONFIG['bundler_groups'] ||= Rails.groups(:assets => %w(development test)) CONFIG['bundler_groups'] << 'standalone' if CONFIG['standalone'] CONFIG['bundler_groups'] << 'newrelic' if CONFIG['newrelic']