tsukasaoishi-miyazakiresistance 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -22,7 +22,7 @@ module MiyazakiResistance
|
|
22
22
|
env = env.to_s
|
23
23
|
conf = YAML.load_file(file)
|
24
24
|
|
25
|
-
class_variable_set("@@logger", Logger.new(
|
25
|
+
class_variable_set("@@logger", Logger.new(conf["log_file"])) if conf["log_file"]
|
26
26
|
|
27
27
|
if (config = conf[env]).nil?
|
28
28
|
logger_fatal "specified environment(#{env}) is not found in conig file(#{file})"
|
data/lib/miyazakiresistance.rb
CHANGED