view config/default_config.rb @ 217:cbd5819d7468

Completely wtf init for zp.new
author Edho Arief <edho@myconan.net>
date Sun, 12 May 2013 02:52:49 +0900
parents 5466704c87ee
children 8dfbf854fad3
line wrap: on
line source

CONFIG['standalone'] = true if CONFIG['standalone'].nil?
CONFIG['newrelic'] = false if CONFIG['newrelic'].nil?
CONFIG['bundler_groups'] ||= Rails.groups(:assets => %w(development test))
CONFIG['bundler_groups'] << 'standalone' if CONFIG['standalone']
CONFIG['bundler_groups'] << 'newrelic' if CONFIG['newrelic']