Open RobLoach opened 8 years ago
Try to reinstall after running sudo rm -Rf ~/.vagrant.d/gems/ && sudo rm ~/.vagrant.d/plugins.json
(you will need to reinstall all of your vagrant plugins)... Also what version of Vagrant do you have installed?
1.8.3... Will try reinstalling plugins
Same problem here. Ruby version:
ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]
I also had this issue the first time I attempted the plugin installation. What version of vagrant do you have? I thought I had installed 1.8.4 (latest), but somehow only 1.8.1 installed on my Ubuntu 16.04 machine. I re-downloaded the deb file to my ~/Downloads folder and ran the following:
sudo dpkg -i ~/Downloads/vagrant_1.8.4_x86_64.deb
This properly upgraded vagrant. Installing the plugin worked as expected afterwards.
Hope that helps.
Thank you @jgonyea. I download and installed the Vagrant 1.8.5 and now vagrant-hostmanager installation worked! The problem was occurring in version 1.8.1, which was standard in Ubuntu 04.16.
Same thing here, I upgraded from Vagrant 1.8.1 to Vagrant 1.9.3 (latest for now) and after this installation worked also.
I think this can be closed. @RobLoach, can you confirm?
Ruby complains...