2016-03-28 17 views
1

Pencerede 7'de serseri-kütüphaneci-şef yüklemek değilim, ama bu hatayı görünür:Pencerede vagrant-kütüphaneci-şef yüklenemiyor mu?

Installing the 'vagrant-librarian-chef' 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 chef (12.8.1), and Bundler cannot continue. Make sure that gem install chef -v '12.8.1' 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 .Errno::ENOENT: No such file or directory @ dir_s_mkdir - C:/Users/tuan/.vagrant.d/gems/gems/chef-12.8.1-universal-mingw32/acceptance/top-cookbooks/test_run/learn-the-basics-ubuntu/cookbooks/learn-the-basics-ubuntu/.kitchen/kitchen-vagrant/kitchen-learn-the-basics-ubuntu-learn-the-basics-ubuntu-default-ubuntu-1404

Pls bana bunu düzeltmek yardımcı olur.

Herkese teşekkürler!

+0

'Gem install chef -v '12 .8.1'' çalıştırmayı denediniz mi ve orada ne olacak? [Vagrant-kütüphaneci-şef] (https://github.com/jimmycuadra/vagrant-librarian-chef) eklentisi artık aktif olarak sürdürülüyor ve en son Vagrant ~ 1.5 ile çalışıyordu. aktif çözüm. –

cevap

1

'ohai' ruby ​​gem kullanırken benzer bir sorun yaşıyordum. gem install chef -v '12.8.1''u çalıştırmayı denedim, ancak bir hata aldı. Sorunumu, benim kaynak dosyama

ekleyerek giderdim.

Gem bağımlılık ağacına baktım (gem dependency) ve 'ohai' geminin şef-config 12.8'i kullanmaya çalıştığını fark ettim, bu yüzden daha önceki bir sürümüne sabitledim.

İlgili konular