Vagrant: Error al instalar el complemento bindfs

Creado en 21 nov. 2016  ·  3Comentarios  ·  Fuente: hashicorp/vagrant

Cuando intento instalar vagrant-bindfs , aparece un error, consulte a continuación.
Me las arreglé para instalar vagrant-hostsupdater

Versión vagabundo

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

Sistema operativo host

Ubuntu Mate completamente actualizado

Salida de depuración

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

Comportamiento esperado

Instalación de un complemento

Comportamiento real

Un error:

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.

pasos para reproducir

  1. ~$ vagrant plugin install vagrant-bindfs
  2. obtener error

Comentario más útil

Tengo el mismo problema. Parece que alguien hizo un cambio en vagrant-bindfs que lo rompió:
https://github.com/gael-ian/vagrant-bindfs/commit/58de1ab3445776ba07aba649fed4bb457f9d66e3?_pjax=%23js-repo-pjax-container

Corrección, esa confirmación soluciona el problema, pero aún no se ha enviado. Por ahora intenta
vagrant plugin instalar vagrant-bindfs --plugin-version '0.4.11'

Todos 3 comentarios

Tengo el mismo problema. Parece que alguien hizo un cambio en vagrant-bindfs que lo rompió:
https://github.com/gael-ian/vagrant-bindfs/commit/58de1ab3445776ba07aba649fed4bb457f9d66e3?_pjax=%23js-repo-pjax-container

Corrección, esa confirmación soluciona el problema, pero aún no se ha enviado. Por ahora intenta
vagrant plugin instalar vagrant-bindfs --plugin-version '0.4.11'

@jhaakma gracias que funcionó

Voy a bloquear este problema porque ha estado cerrado durante _30 días_ ⏳. Esto ayuda a nuestros mantenedores a encontrar y concentrarse en los problemas activos.

Si ha encontrado un problema que parece similar a este, abra un nuevo problema y complete la plantilla de problemas para que podamos capturar todos los detalles necesarios para investigar más a fondo.

¿Fue útil esta página
0 / 5 - 0 calificaciones