LoginSignup
5
6

More than 5 years have passed since last update.

Vagrantアップデート後"`rescue in parse_string': Caught Encoding::CompatibilityError at '[{"content-type":"ap': incompatible encoding regexp match (ASCII-8BIT regexp with UTF-8 string) (JSON::ParserError)"で怒られた時の対処法

Last updated at Posted at 2014-06-27

概要

vagrantアップデート後vagrant box addを実行すると,"`rescue in parse_string': Caught Encoding::CompatibilityError at '[{"content-type":"ap': incompatible encoding regexp match (ASCII-8BIT regexp with UTF-8 string) (JSON::ParserError)"で怒られたので,その時の対処方.

対処法

$ rm ~/.vagrant.d/gems/cache/json-*.gem
$ rm ~/.vagrant.d/gems/gems/json-*
$ rm ~/.vagrant.d/gems/specification/json-*.gemspec
5
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
6