Open dpetukhov opened 7 years ago
I got the same error when running the basic "vagrant" command following install of v1.9.4, however I was able to ignore it okay and follow the getting-started tutorial up to the point of "vagrant share":
C:/HashiCorp/Vagrant/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- vagrant-share/helper/api (LoadError) from C:/HashiCorp/Vagrant/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-share-1.1.7/lib/vagrant-share/activate.rb:244:in `<encoded>' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-share-1.1.7/lib/vagrant-share/activate.rb:16:in `RGLoader_load' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-share-1.1.7/lib/vagrant-share/activate.rb:16:in `<top (required)>' from C:/HashiCorp/Vagrant/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require' from C:/HashiCorp/Vagrant/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-share-1.1.7/lib/vagrant-share.rb:29:in `block in <class:Plugin>' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/cli.rb:36:in `call' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/cli.rb:36:in `execute' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/environment.rb:308:in `cli' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.4/bin/vagrant:127:in `<main>'
Oops - I put this comment in the wrong place - I'm using vagrant against VirtualBox on my Windows laptop. Ignore if irrelevant!
The same on macOS Sierra with Vagrant 1.9.4
Same problem
same issue faced on mac Sierra with Vagrant 1.9.4
I have the same issue on Ubuntu 17.04.
Same on OSX 10.12.4, Vagrant 1.9.4
As @fdawg4l linked above, the solution is here: https://github.com/mitchellh/vagrant/issues/8519#issuecomment-297413831
Yes, solution is:
$ vagrant plugin install vagrant-share --plugin-version 1.1.8
Temporary solution: Use version 1.9.3
@dpetukhov solution worked for me on El Capitan 10.11.6 and vagrant version 1.9.4
works for Debian GNU/Linux 8.7 (jessie)
@dpetukhov solution worked for me on macOS Sierra 10.12.4
the problem also exists for vagrant v1.9.3
Same problem on Kali Linux (Debian). Solution proposed by @dpetukhov works good for me. Thanks!
Works, but why doesn't hashicorp fix this?
The recommendation of running:
$ vagrant plugin install vagrant-share --plugin-version 1.1.8
does not fix the problem on Ubuntu 16.04.2 LTS.
I fixed the issue on my workstation by completely uninstalling all of vagrant, then I deleted the hidden .vagrant.d dir (located in your home dir), then I reinstalled vagrant 1.9.4 and reinstalled all the vagrant plugins that I use.
Hello.
After installing vagrant_1.9.4_x86_64.deb on Ubuntu 16.04 with following commands:
$ sudo dpkg -i vagrant_1.9.4_x86_64.deb
I can't run vagrant. It shows me an error. Take a look:
I fixed this by installing version 1.9.3 from here: https://releases.hashicorp.com/vagrant/1.9.3/ It works.