From 139fc8ae74c5019003e1b4fa350240f8e9fedebc Mon Sep 17 00:00:00 2001 From: Patrick J Cherry Date: Thu, 10 Nov 2011 16:58:02 +0000 Subject: Changed mauve config to allow including directory and filenames. --- bin/mauveconsole | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bin/mauveconsole') diff --git a/bin/mauveconsole b/bin/mauveconsole index 169ca54..211eaab 100644 --- a/bin/mauveconsole +++ b/bin/mauveconsole @@ -89,7 +89,6 @@ require 'pp' def error(msg) logger = Log4r::Logger['Mauve'] - logger.error logger.error "*** Error: #{msg}" logger.error "*** For help, type: #{$0} -h" @@ -139,7 +138,9 @@ module Mauve end begin - Mauve::Configuration.current = Mauve::ConfigurationBuilder.load(configuration_file) + builder = Mauve::ConfigurationBuilder.new + builder.include_file(configuration_file) + Mauve::Configuration.current = builder.result Mauve::Server.instance.setup rescue StandardError => ex error ex -- cgit v1.2.1