2016-12-04 5 views
2

迷惑メールのプラグインをインストールしようとしましたが、エラーが発生しました。私はMacOS Sierra 10.12.1で、1.9の迷惑メールを実行しています。私はルビーの専門知識がないので、あなたが提供できるすべての助けを使うことができます。
私はRubyバージョン2.3.3をインストールしようとしましたが、迷路の下のパスに基づいて埋め込みバージョンを使用しています。vagrant-awsプラグインのインストールエラー

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>' 

答えて

2

これは、Vagrant-rackspaceプラグインでも同じ問題が発生していたので、これはVagrant 1.9.1で修正されているようですが、今は問題なくインストールされます。

+0

私は確認してください。気分を悪くする1.9.1へのアップグレードは私の問題を解決しました。ありがとう! – user3137124

+0

OSX上では、それは 'brew cask reamp vagrant'です。キャスクの「アップグレード」はありません。 –

1

私は現在の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)'! 

または::

`gem install fog-xml` 

私は同じエラー状態を取得する私はまたしてもI場合は、その追加します。

+0

あなたはバゲット1.9を使用していますか?以前のバージョンでこのエラーが発生した場合、あなたは知っていますか? – user3137124

+1

1.9を浮浪者に特有の問題であるように見えるんし、私はそれがこれで固定だと信じて: https://github.com/mitchellh/vagrant/pull/8079/commits/3dccd82a39bfb9929070b043a9144fa20191220d – user2653964

関連する問題