lib/jruby_art/config.rb in jruby_art-0.4.0 vs lib/jruby_art/config.rb in jruby_art-0.4.2

- old
+ new

@@ -1,13 +1,13 @@ -require 'psych' +require 'yaml' # The wrapper module module Processing unless defined? RP_CONFIG config_path = '~/.jruby_art/config.yml' begin CONFIG_FILE_PATH = File.expand_path(config_path) - RP_CONFIG = (Psych.load_file(CONFIG_FILE_PATH)) + RP_CONFIG = (YAML.load_file(CONFIG_FILE_PATH)) rescue warn(format('WARN: you need to set PROCESSING_ROOT in %s', config_path)) end end end