vagrant環境のアップデート ( 1.8.6 -> 1.9.1 )

vagrant 自体をアップデート(1.8.6 -> 1.9.1)して、vagrant up したらエラーになったのでメモ書き。



Vagrant failed to initialize at a very early stage:

The plugins failed to initialize correctly. This may be due to manual modifications made within the Vagrant home directory. Vagrant can attempt to automatically correct this issue by running:

vagrant plugin repair

If Vagrant was recently updated, this error may be due to incompatible versions of dependencies. To fix this problem please remove and re-install all plugins. Vagrant can attempt to do this automatically by running:

vagrant plugin expunge –reinstall

Error message given during initialization: Unable to resolve dependency: user requested ‘vagrant-vbguest (> 0)’

vagrant plugin repair

Repairing currently installed plugins. This may take a few minutes…
Fetching: micromachine-2.0.0.gem (100%)
Fetching: vagrant-hostsupdater-1.0.2.gem (100%)
Fetching: vagrant-vbguest-0.13.0.gem (100%)
Installed plugins successfully repaired!

vagrant up でゲストOSが起動できました。