Explorar el Código

Clarify that .rbenv-version is removed when migrating

pull/360/head^2
Sam Stephenson hace 13 años
padre
commit
919c4240fc
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. +3
    -1
      libexec/rbenv-local

+ 3
- 1
libexec/rbenv-local Ver fichero

@ -38,8 +38,10 @@ if [ "$RBENV_VERSION" = "--unset" ]; then
rm -f .ruby-version .rbenv-version
elif [ -n "$RBENV_VERSION" ]; then
if [ "$(RBENV_VERSION= rbenv-version-origin)" -ef .rbenv-version ]; then
echo "rbenv: migrated .rbenv-version file to .ruby-version" >&2
rm -f .rbenv-version
{ echo "rbenv: removed existing \`.rbenv-version' file and migrated"
echo " local version specification to \`.ruby-version' file"
} >&2
fi
rbenv-version-file-write .ruby-version "$RBENV_VERSION"
else

Cargando…
Cancelar
Guardar