Installing the 'vagrant-vbguest' plugin error

369 views
Skip to first unread message

Carey Wang

unread,
Feb 26, 2017, 10:13:18 PM2/26/17
to Vagrant
Please to see the output first:
vagrant plugin install vagrant-vbguest
Installing the 'vagrant-vbguest' 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 vagrant-share (1.1.6), and Bundler cannot continue.
Make sure that `gem install vagrant-share -v '1.1.6'` succeeds before bundling.

Warning: this Gemfile contains multiple primary sources. Using `source` more than once without a block is a security risk, and may result in installing unexpected gems. To resolve this warning, use a block to indicate which gems should come from the secondary source. To upgrade this warning to an error, run `bundle config disable_multisource true`.NoMethodError: undefined method `size' for nil:NilClass

Then i ran this:
C:\HashiCorp\Vagrant\embedded\bin\gem.bat install vagrant-vbguest
Fetching: micromachine-2.0.0.gem (100%)
Successfully installed micromachine-2.0.0
Fetching: i18n-0.8.1.gem (100%)
Successfully installed i18n-0.8.1
Fetching: log4r-1.1.10.gem (100%)
Successfully installed log4r-1.1.10
Fetching: vagrant-vbguest-0.13.0.gem (100%)
Successfully installed vagrant-vbguest-0.13.0
Parsing documentation for micromachine-2.0.0
Installing ri documentation for micromachine-2.0.0
Parsing documentation for i18n-0.8.1
Installing ri documentation for i18n-0.8.1
Parsing documentation for log4r-1.1.10
Installing ri documentation for log4r-1.1.10
Parsing documentation for vagrant-vbguest-0.13.0
Installing ri documentation for vagrant-vbguest-0.13.0
4 gems installed.


back to run vagrant plugin install vagrant-vbguest still so, how to resolve this error?
i'm using win10, cant find gem.exe



Carey Wang

unread,
Feb 26, 2017, 11:56:59 PM2/26/17
to Vagrant
C:\HashiCorp\Vagrant\embedded\bin\gem.bat install vagrant-share -v '1.1.6'
ERROR:  Could not find a valid gem 'vagrant-share' (= 1.1.6) in any repository
ERROR:  Possible alternatives: vagrant-save, vagrant-shell, vagrant-rake, vagrant-salt, vagrant-xhyve

在 2017年2月27日星期一 UTC+8上午11:13:18,Carey Wang写道:

Carey Wang

unread,
Feb 27, 2017, 12:12:31 AM2/27/17
to Vagrant
The vagrant-share current version is 1.1.5, cant upgrade to 1.1.6 what happen?
 
vagrant plugin list
vagrant-share (1.1.5, system)

vagrant plugin update vagrant-share
Updating plugins: vagrant-share. This may take a few minutes...
All plugins are up to date.

Alvaro Miranda Aguilera

unread,
Feb 27, 2017, 5:59:23 AM2/27/17
to vagra...@googlegroups.com
Hello.

Do you need to setup proxy in that network?

Vagrants gems are on gems.hashicorp.com and vagrant plugin install/update should take care of the plugin.

Can you do this:

vagrant plugin uninstall vagrant-share
vagrant plugin uninstall vagrant-share
vagrant plugin install vagrant-share
vagrant plugin list

uninstall twice please.

If still fails then do:

set VAGRANT_LOG=debug
vagrant plugin install vagrant-share

and share the verbose output

Thanks


Virusvrij. www.avast.com

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/a1997362-84eb-4de7-a634-51fbdf17ebde%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Alvaro

Reply all
Reply to author
Forward
0 new messages