comparison config/config_init.rb @ 502:507b7f8e8b3b

Remove stdout logging option (already the default)
author nanaya <me@nanaya.net>
date Mon, 16 Dec 2024 01:12:44 +0900
parents d2ef59c9a4b4
children 2392b86711a1
comparison
equal deleted inserted replaced
501:e62e57101e4a 502:507b7f8e8b3b
5 config_local = File.expand_path("config_local_#{env}.rb", __dir__) 5 config_local = File.expand_path("config_local_#{env}.rb", __dir__)
6 6
7 require config_local if File.exist? config_local 7 require config_local if File.exist? config_local
8 8
9 $cfg[:standalone] = true if $cfg[:standalone].nil? 9 $cfg[:standalone] = true if $cfg[:standalone].nil?
10 $cfg[:log_to_stdout] = true if $cfg[:log_to_stdout].nil?
11 10
12 $cfg[:bundler_groups] ||= [ :default, env ] 11 $cfg[:bundler_groups] ||= [ :default, env ]
13 $cfg[:bundler_groups] << "standalone" if $cfg[:standalone] 12 $cfg[:bundler_groups] << "standalone" if $cfg[:standalone]
14 13
15 $cfg.freeze 14 $cfg.freeze