fix "uninitialized constant YAML" error, relate to #2.