lib/rmpd/config.rb in rmpd-1.0.4 vs lib/rmpd/config.rb in rmpd-1.0.5

- old
+ new

@@ -14,10 +14,10 @@ def initialize(config_file=nil) case config_file when String, Pathname config = YAML::load_file(config_file) - when File + when File, StringIO config = YAML::load(config_file) else config = {} end config = config[Rails.env] if defined?(Rails) && config[Rails.env]