comparison 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
comparison
equal deleted inserted replaced
244:1889f3155797 245:8dfbf854fad3
1 CONFIG['standalone'] = true if CONFIG['standalone'].nil? 1 CONFIG['standalone'] = true if CONFIG['standalone'].nil?
2 CONFIG['newrelic'] = false if CONFIG['newrelic'].nil? 2 CONFIG['newrelic'] = false if CONFIG['newrelic'].nil?
3 CONFIG['bundler_groups'] ||= Rails.groups(:assets => %w(development test)) 3 CONFIG['bundler_groups'] ||= [:default, Rails.env]
4 CONFIG['bundler_groups'] << 'standalone' if CONFIG['standalone'] 4 CONFIG['bundler_groups'] << 'standalone' if CONFIG['standalone']
5 CONFIG['bundler_groups'] << 'newrelic' if CONFIG['newrelic'] 5 CONFIG['bundler_groups'] << 'newrelic' if CONFIG['newrelic']