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写道: > > 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 > > > > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/67a7c33f-5da0-4acf-bb03-e373d44cde4c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
