Created
January 9, 2014 18:50
-
-
Save malnick/8339719 to your computer and use it in GitHub Desktop.
YAML to JSON Error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@bohr:/Users/malnick/projects/banyan/www → ruby -rpuppet -ryaml -rjson -e 'JSON.pretty_generate(YAML.load_file("last_run_report.yaml"))' | |
/Library/Ruby/Gems/2.0.0/gems/json_pure-1.8.1/lib/json/common.rb:285:in `generate': only generation of JSON objects or arrays allowed (JSON::GeneratorError) | |
from /Library/Ruby/Gems/2.0.0/gems/json_pure-1.8.1/lib/json/common.rb:285:in `pretty_generate' | |
from -e:1:in `<main>' | |
root@bohr:/Users/malnick/projects/banyan/www → |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment