Error YAML::dump

Yea, seem to be a bug in Ruby 2.7.x: https://bugs.ruby-lang.org/issues/17556

You might want to search around in Ruby forums for workarounds.