Skip to content

Instantly share code, notes, and snippets.

@jaimeivan
Created April 11, 2013 23:21
Show Gist options
  • Save jaimeivan/5368028 to your computer and use it in GitHub Desktop.
Save jaimeivan/5368028 to your computer and use it in GitHub Desktop.
Al clonar un repositorio remoto con Git marca un error de perl
#Entorno: MacOSx 10.7.5
#Error
$ git clone ssh://...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = (unset)
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
#--- Se crea un bash_profile
# Vamos al directorio de nuestro home
$ cd ~/
# Creamos el archivo .bash_profile
$ touch .bash_profile
# Lo editamos
$ open -e .bash_profile
# En el archivo agregamos
export LC_CTYPE=en_US.UTF-8
export LC_ALL=en_US.UTF-8
# Ejecutamos el archivo para que haga los export
$ sh .bash_profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment