Created
November 4, 2015 20:58
-
-
Save ScotterC/b738721015de6c56573f to your computer and use it in GitHub Desktop.
Basic vagrant error output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/vagrant-setup (master): vagrant plugin install vagrant-hostsupdater | |
Installing the 'vagrant-hostsupdater' plugin. This can take a few minutes... | |
Bundler, the underlying system Vagrant uses to install plugins, | |
reported an error. The error is shown below. These errors are usually | |
caused by misconfigured plugin installations or transient network | |
issues. The error from Bundler is: | |
An error occurred while installing json (1.8.1), and Bundler cannot continue. | |
Make sure that `gem install json -v '1.8.1'` succeeds before bundling. | |
Gem::RemoteFetcher::FetchError: bad response Not Found 404 (http://gems.hashicorp.com/gems/json-1.8.1.gem) |
I fought with this error, trying to install chef 11.12.8 :
An error occurred while installing json (1.8.1), and Bundler cannot continue.
Make sure thatgem install json -v '1.8.1'
succeeds before bundling.Gem::RemoteFetcher::FetchError: bad response Not Found 404 (http://gems.hashicorp.com/gems/json-1.8.1.gem)
for the better part of a day. Thanks to albac, I decided to try upgrading vagrant from the 1.7.2 Version I was on, one step at a time, and lo and behold Vagrant 1.7.3 got me past this error.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have been using vagrant for a while and never seen this error until today, an engineer was trying to run my framework and it failed with the exact same error, after a tons of research thinking this was related to ruby or some gem bad installation, it ended up being an old version of vagrant that was causing the problem. I asked him to upgrade vagrant and the problem went away( no need to uninstall just upgrade it ), It worked for me.