comparison config/config_init.rb @ 499:d2ef59c9a4b4

Use rails rubocop
author nanaya <me@nanaya.net>
date Sun, 15 Dec 2024 22:33:27 +0900
parents 300bac944674
children 507b7f8e8b3b
comparison
equal deleted inserted replaced
498:300bac944674 499:d2ef59c9a4b4
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? 10 $cfg[:log_to_stdout] = true if $cfg[:log_to_stdout].nil?
11 11
12 $cfg[:bundler_groups] ||= [:default, env] 12 $cfg[:bundler_groups] ||= [ :default, env ]
13 $cfg[:bundler_groups] << "standalone" if $cfg[:standalone] 13 $cfg[:bundler_groups] << "standalone" if $cfg[:standalone]
14 14
15 $cfg.freeze 15 $cfg.freeze