lib/mad_chatter/config.rb in mad_chatter-0.1.1 vs lib/mad_chatter/config.rb in mad_chatter-0.1.2
- old
+ new
@@ -19,12 +19,12 @@
def initialize_config
config_file = File.join(Dir.pwd, 'config.yml')
unless File.exist?(config_file)
- raise 'Could not find Mad Chatter config.yml file'
+ abort 'Could not find Mad Chatter config.yml file'
end
-
+
config = YAML::load(File.open(config_file))
defaults = {
'websocket_backend' => 'websocket-rack',
'websocket_port' => 8100,
}