This article lists errors and solutions I’ve come across in my experience with Ruby applications.
|Error Description||Possible Cause||Possible Solution "did not find expected key while parsing a block mapping at line …"||You may have a syntax error in a config/yaml file||Try testing your yaml file with Ruby for any syntax errors.
If there is no output, then the syntax is OK. If errors found, start troubleshooting at the line number reported by the error message:
ruby -e "require 'yaml'; YAML.load_file('/somepath/myconfigfile.yml')"