rails error, couldn’t parse YAML

You have invalid YAML code somewhere. I mean invalid for Psych (the new ruby YAML parser).

If you cannot (or don’t want to) fix your YAML code, try to load the old YAML parser (syck), adding this at the beginning of config/boot.rb

require 'yaml'
YAML::ENGINE.yamler="syck"

It’s just a ‘quick and dirty’ fix, I know

Leave a Comment