Versión de paquete incompatible - paquete 2, ruby 2.6
Acabamos de actualizar ruby a 2.6 y bundler a 2. Ahora estamos obteniendo:
# bin/rails console
You must use Bundler 2 or greater with this lockfile.
Esto anteriormente estaba sucediendo conbundle exec
:
# bundle exec rails console
You must use Bundler 2 or greater with this lockfile.
En ese momento, todavía estábamos ejecutando 1.17.2 por defecto:
# gem list bundler
*** LOCAL GEMS ***
bundler (2.0.1, default: 1.17.2)
Así que corrimosgem uninstall bundler --version 1.17.2
y entoncesbundle exec
empezo a trabajar
Pero elbin
trozos comobin/rails
siguen fallando.
¿Cómo se puede ejecutar1.17.2
cuando se ha desinstalado?