Vagrant: Erreur lors de l'installation du plugin bindfs

Créé le 21 nov. 2016  ·  3Commentaires  ·  Source: hashicorp/vagrant

Lorsque j'essaie d'installer vagrant-bindfs j'obtiens une erreur, voir ci-dessous.
J'ai réussi à installer vagrant-hostsupdater

Version vagabonde

Vagabond 1.8.7
ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu] (installé par vagrant)

Système d'exploitation hôte

Ubuntu Mate entièrement mis à jour

Sortie de débogage

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

Comportement prévisible

Installer un plugin

Comportement réel

Une erreur:

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.

Étapes à reproduire

  1. ~$ vagrant plugin install vagrant-bindfs
  2. obtenir une erreur

Commentaire le plus utile

J'ai le même problème. On dirait que quelqu'un a modifié vagrant-bindfs qui l'a cassé :
https://github.com/gael-ian/vagrant-bindfs/commit/58de1ab3445776ba07aba649fed4bb457f9d66e3?_pjax=%23js-repo-pjax-container

Correction, ce commit résout le problème, mais n'a pas encore été poussé. Pour l'instant essayez
vagrant plugin installer vagrant-bindfs --plugin-version '0.4.11'

Tous les 3 commentaires

J'ai le même problème. On dirait que quelqu'un a modifié vagrant-bindfs qui l'a cassé :
https://github.com/gael-ian/vagrant-bindfs/commit/58de1ab3445776ba07aba649fed4bb457f9d66e3?_pjax=%23js-repo-pjax-container

Correction, ce commit résout le problème, mais n'a pas encore été poussé. Pour l'instant essayez
vagrant plugin installer vagrant-bindfs --plugin-version '0.4.11'

@jhaakma merci cela a fonctionné

Je vais verrouiller ce problème car il est fermé depuis _30 jours_ ⏳. Cela aide nos responsables à trouver et à se concentrer sur les problèmes actifs.

Si vous avez trouvé un problème qui ressemble à celui-ci, veuillez ouvrir un nouveau problème et remplir le modèle de problème afin que nous puissions capturer tous les détails nécessaires pour approfondir l'enquête.

Cette page vous a été utile?
0 / 5 - 0 notes