load psych by default if possible

This commit is contained in:
Aaron Patterson
2011-01-28 14:24:11 -08:00
parent e19a7729d1
commit c29eef7da7

View File

@@ -1,3 +1,8 @@
begin
require 'psych'
rescue LoadError
end
require 'yaml'
YAML.add_builtin_type("omap") do |type, val|