git-deploy – Perl: warning: Setting locale failed.

Balaji D Loganathan

27 sec read

If you get the error
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
, you can fix it by adding the lines
export LC_CTYPE=en_US.UTF-8
export LC_ALL=en_US.UTF-8
to the file deploy/after_push


Counting objects: 4, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 407 bytes | 0 bytes/s, done.
Total 4 (delta 2), reused 0 (delta 0)
remote: HEAD is now at fdb8ff5 test text
remote: files changed: 1
remote: perl: warning: Setting locale failed.
remote: perl: warning: Please check that your locale settings:
remote: LANGUAGE = (unset),
remote: LC_ALL = (unset),
remote: LC_CTYPE = "UTF-8",
remote: LANG = "en_US.UTF-8"
remote: are supported and installed on your system.
remote: perl: warning: Falling back to a fallback locale ("en_US.UTF-8").

Related posts:

Leave a Reply

Your email address will not be published. Required fields are marked *