diff --git a/Library/Homebrew/formula_cellar_checks.rb b/Library/Homebrew/formula_cellar_checks.rb index dfdd699e6a..700ed7c0ad 100644 --- a/Library/Homebrew/formula_cellar_checks.rb +++ b/Library/Homebrew/formula_cellar_checks.rb @@ -232,7 +232,7 @@ module FormulaCellarChecks return unless prefix.directory? plist = begin - Plist.parse_xml(plist) + Plist.parse_xml(plist, marshal: false) rescue nil end diff --git a/Library/Homebrew/system_command.rb b/Library/Homebrew/system_command.rb index 4f5b68e38c..3ddd2a039b 100644 --- a/Library/Homebrew/system_command.rb +++ b/Library/Homebrew/system_command.rb @@ -357,7 +357,7 @@ class SystemCommand Regexp.last_match(1) end - Plist.parse_xml(output) + Plist.parse_xml(output, marshal: false) end end