Fix problem with Psych::ENGINE for ruby-head
Merge pull request #1248 from jonas054/fix_yaml_engine_problem

Fix problem with Psych::ENGINE for ruby-head