Vagrant: Erro ao instalar o plugin bindfs

Criado em 21 nov. 2016  ·  3Comentários  ·  Fonte: hashicorp/vagrant

Quando tento instalar vagrant-bindfs recebo um erro, veja abaixo.
Consegui instalar vagrant-hostsupdater

Versão Vagrant

Vagrant 1.8.7
ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu] (instalado por vagrant)

Sistema operacional host

Ubuntu Mate totalmente atualizado

Saída de depuração

https://gist.github.com/janw-oostendorp/31c131631e9021eab346fca1039d788b

Comportamento esperado

Instalando um plugin

Comportamento real

Um erro:

Installing the 'vagrant-bindfs' 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-bindfs (0.4.12), and Bundler cannot continue.
Make sure that `gem install vagrant-bindfs -v '0.4.12'` 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`.Gem::InstallError: vagrant-bindfs requires Ruby version ~> 2.0.0.

Passos para reproduzir

  1. ~$ vagrant plugin install vagrant-bindfs
  2. obter erro

Comentários muito úteis

Estou tendo o mesmo problema. Parece que alguém fez uma alteração no vagrant-bindfs que o quebrou:
https://github.com/gael-ian/vagrant-bindfs/commit/58de1ab3445776ba07aba649fed4bb457f9d66e3?_pjax=%23js-repo-pjax-container

Correção, esse commit corrige o problema, mas ainda não foi enviado. Por agora tente
vagrant plugin install vagrant-bindfs --plugin-version '0.4.11'

Todos 3 comentários

Estou tendo o mesmo problema. Parece que alguém fez uma alteração no vagrant-bindfs que o quebrou:
https://github.com/gael-ian/vagrant-bindfs/commit/58de1ab3445776ba07aba649fed4bb457f9d66e3?_pjax=%23js-repo-pjax-container

Correção, esse commit corrige o problema, mas ainda não foi enviado. Por agora tente
vagrant plugin install vagrant-bindfs --plugin-version '0.4.11'

@jhaakma obrigado que funcionou

Vou bloquear este problema porque ele está fechado há _30 dias_ ⏳. Isso ajuda nossos mantenedores a encontrar e focar nos problemas ativos.

Se você encontrou um problema semelhante a este, abra um novo problema e preencha o modelo de problema para que possamos capturar todos os detalhes necessários para uma investigação mais aprofundada.

Esta página foi útil?
0 / 5 - 0 avaliações