Skip to content


Psych can't parse YML in RefineryCMS that syck can #10

parndt opened this Issue · 3 comments

2 participants



We've had reports that Psych can't parse the YML inside RefineryCMS even though syck can. Here is the link to the issue on our repository with heaps of conversation around it:

The simple solution to this issue is to put this in our config/boot.rb:

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

AKA disable Psych, no more problem. Weird?



Hi Phil,

Psych uses libyaml which sticks to the YAML 1.1 spec. Syck does not. Syck is a more loose parser. libyaml will not support invalid yaml, so this is not a bug.

Syck will be removed from Ruby (someday), so I suggest you upgrade the YAML inside RefineryCMS. I can help with that if you like. :-)


That explains it!
Would appreciate ALL the help we can get with this. Due to the Christchurch Earthquake we're at limited capacity here. Plus, I can't figure out how to make the YAML valid :-)

Thanks for your very swift response, Aaron.


No problem. I will pull down the code and take a look!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.