Ruby vagrant aws插件安装错误

Ruby vagrant aws插件安装错误,ruby,vagrant,vagrant-plugin,Ruby,Vagrant,Vagrant Plugin,我正在尝试为vagrant安装aws插件,但出现了一个错误。我在macOS Sierra 10.12.1上运行vagrant 1.9。我没有ruby方面的专业知识,因此我可以利用您提供的所有帮助。 我尝试安装ruby版本2.3.3,但根据下面的路径,vagrant使用的是嵌入式版本 vagrant plugin install vagrant-aws Installing the 'vagrant-aws' plugin. This can take a few minutes... /opt/

我正在尝试为vagrant安装aws插件,但出现了一个错误。我在macOS Sierra 10.12.1上运行vagrant 1.9。我没有ruby方面的专业知识,因此我可以利用您提供的所有帮助。
我尝试安装ruby版本2.3.3,但根据下面的路径,vagrant使用的是嵌入式版本

vagrant plugin install vagrant-aws
Installing the 'vagrant-aws' plugin. This can take a few minutes...
/opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/dependency.rb:315:in `to_specs': Could not find 'fog-xml' (>= 0) among 45 total gem(s) (Gem::LoadError)
Checked in 'GEM_PATH=/opt/vagrant/embedded/gems', execute `gem env` for more information
    from /opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/specification.rb:1311:in `block in activate_dependencies'
    from /opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/specification.rb:1300:in `each'
    from /opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/specification.rb:1300:in `activate_dependencies'
    from /opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/specification.rb:1282:in `activate'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.0/lib/vagrant/bundler.rb:319:in `block in activate_solution'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.0/lib/vagrant/bundler.rb:316:in `each'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.0/lib/vagrant/bundler.rb:316:in `activate_solution'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.0/lib/vagrant/bundler.rb:244:in `internal_install'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.0/lib/vagrant/bundler.rb:97:in `install'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.0/lib/vagrant/plugin/manager.rb:62:in `block in install_plugin'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.0/lib/vagrant/plugin/manager.rb:72:in `call'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.0/lib/vagrant/plugin/manager.rb:72:in `install_plugin'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.0/plugins/commands/plugin/action/install_gem.rb:37:in `call'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.0/lib/vagrant/action/warden.rb:34:in `call'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.0/lib/vagrant/action/builder.rb:116:in `call'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.0/lib/vagrant/action/runner.rb:66:in `block in run'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.0/lib/vagrant/util/busy.rb:19:in `busy'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.0/lib/vagrant/action/runner.rb:66:in `run'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.0/plugins/commands/plugin/command/base.rb:14:in `action'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.0/plugins/commands/plugin/command/install.rb:32:in `block in execute'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.0/plugins/commands/plugin/command/install.rb:31:in `each'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.0/plugins/commands/plugin/command/install.rb:31:in `execute'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.0/plugins/commands/plugin/command/root.rb:66:in `execute'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.0/lib/vagrant/cli.rb:42:in `execute'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.0/lib/vagrant/environment.rb:308:in `cli'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.0/bin/vagrant:123:in `<main>'
vagrant插件安装vagrant aws
安装“vagrant aws”插件。这可能需要几分钟。。。
/opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/dependency.rb:315:in'to_specs':在总共45个gem中找不到'fog xml'(>=0)(gem::LoadError)
签入'GEM_PATH=/opt/vagrant/embedded/gems',执行'GEM env'以了解更多信息
from/opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/specification.rb:1311:in'block in activate_dependencies'
from/opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/specification.rb:1300:in'each'
来自/opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/specification.rb:1300:in“activate_dependencies”
from/opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/specification.rb:1282:in'activate'
from/opt/vagrant/embedded/gems/gems/vagrant-1.9.0/lib/vagrant/bundler.rb:319:在“激活解决方案中的块”中
from/opt/vagrant/embedded/gems/gems/vagrant-1.9.0/lib/vagrant/bundler.rb:316:in'each'
from/opt/vagrant/embedded/gems/gems/vagrant-1.9.0/lib/vagrant/bundler.rb:316:in'activate_solution'
from/opt/vagrant/embedded/gems/gems/vagrant-1.9.0/lib/vagrant/bundler.rb:244:在“内部安装”中
来自/opt/vagrant/embedded/gems/gems/vagrant-1.9.0/lib/vagrant/bundler.rb:97:in'install'
来自/opt/vagrant/embedded/gems/gems/vagrant-1.9.0/lib/vagrant/plugin/manager.rb:62:in“block in install_plugin”
from/opt/vagrant/embedded/gems/gems/vagrant-1.9.0/lib/vagrant/plugin/manager.rb:72:in'call'
来自/opt/vagrant/embedded/gems/gems/vagrant-1.9.0/lib/vagrant/plugin/manager.rb:72:in'install_plugin'
from/opt/vagrant/embedded/gems/gems/vagrant-1.9.0/plugins/commands/plugin/action/install_gem.rb:37:in'call'
from/opt/vagrant/embedded/gems/gems/vagrant-1.9.0/lib/vagrant/action/warden.rb:34:in'call'
from/opt/vagrant/embedded/gems/gems/vagrant-1.9.0/lib/vagrant/action/builder.rb:116:in'call'
from/opt/vagrant/embedded/gems/gems/vagrant-1.9.0/lib/vagrant/action/runner.rb:66:in'block in run'
from/opt/vagrant/embedded/gems/gems/vagrant-1.9.0/lib/vagrant/util/busy.rb:19:in'busy'
from/opt/vagrant/embedded/gems/gems/vagrant-1.9.0/lib/vagrant/action/runner.rb:66:in'run'
from/opt/vagrant/embedded/gems/gems/vagrant-1.9.0/plugins/commands/plugin/command/base.rb:14:in“action”
from/opt/vagrant/embedded/gems/gems/vagrant-1.9.0/plugins/commands/plugin/command/install.rb:32:“执行中的块”中
from/opt/vagrant/embedded/gems/gems/vagrant-1.9.0/plugins/commands/plugin/command/install.rb:31:in'each'
from/opt/vagrant/embedded/gems/gems/vagrant-1.9.0/plugins/commands/plugin/command/install.rb:31:in'execute'
from/opt/vagrant/embedded/gems/gems/vagrant-1.9.0/plugins/commands/plugin/command/root.rb:66:in'execute'
from/opt/vagrant/embedded/gems/gems/vagrant-1.9.0/lib/vagrant/cli.rb:42:in'execute'
from/opt/vagrant/embedded/gems/gems/vagrant-1.9.0/lib/vagrant/environment.rb:308:in'cli'
from/opt/vagrant/embedded/gems/gems/vagrant-1.9.0/bin/vagrant:123:in`'

我在当前的Arch Linux上遇到了完全相同的问题。我还要补充一点,即使我:

vagrant plugin install fog-xml
Installing the 'fog-xml' plugin. This can take a few minutes...
Installed the plugin 'fog-xml (0.1.2)'!
或:


我得到了相同的错误条件。

这似乎在Vagrant 1.9.1中得到了修复,因为我在Vagrant rackspace插件中也遇到了同样的问题,但它现在安装良好。

您使用的是Vagrant 1.9吗?你知道以前的版本有没有出现这个错误吗?这似乎是vagrant 1.9独有的问题,我相信这个问题已经解决了:我确认。升级到vagrant 1.9.1解决了我的问题。谢谢在OSX上,这是
brew桶重新安装vagrant
。木桶没有“升级”。
`gem install fog-xml`