Skip to content

Instantly share code, notes, and snippets.

@dstagner
Created May 1, 2014 03:02
Show Gist options
  • Save dstagner/974731944d4a8f6ca152 to your computer and use it in GitHub Desktop.
Save dstagner/974731944d4a8f6ca152 to your computer and use it in GitHub Desktop.
vagrant problem - "in `rescue in parse_string': Caught Encoding::CompatibilityError"
Ran across this little annoyance after upgrading vagrant. There's a whole stack trace after and a line number before that I'm not including because they might be different for you.
Anyway, solution. Delete or rename ~/.vagrant.d and the problem goes away. It's some sort of ASCII vs UTF-8 issue that chokes a regexp.
Nuking from orbit is always an option.
@stones
Copy link

stones commented Jun 4, 2014

Fantastic! Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment