Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
isprogram
/
pyenv
réplica de
https://github.com/pyenv/pyenv.git
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Projects
0
Lanzamientos
241
Wiki
Actividad
Explorar el Código
Add rbenv-set-local
pull/360/head^2
Sam Stephenson
hace 15 años
padre
af6b06743b
commit
6ec91083d8
Se han
modificado 1 ficheros
con
14 adiciones
y
0 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+14
-0
bin/rbenv-set-local
+ 14
- 0
bin/rbenv-set-local
Ver fichero
@ -0,0 +1,14 @@
#!/bin/bash
set -e
RBENV_VERSION="$1"
if [ -z "$RBENV_VERSION" ]; then
echo "usage: rbenv set-local VERSION" >&2
exit 1
fi
# Make sure the specified version is installed
rbenv-path "$RBENV_VERSION" >/dev/null
echo "$RBENV_VERSION" > .rbenv-version
Escribir
Vista previa
Cargando…
Cancelar
Guardar