遇见此报错
/opt/gitlab/embedded/bin/initdb -D /var/opt/gitlab/postgresql/data -E UTF8
解决方法:
在 ~/.bash_profile, 然后source ~/.bash_profile
export LC_ALL=“zh_CN.UTF-8”
export LC_CTYPE=“zh_CN.UTF-8”
转自:http://www.moheqionglin.com/site/blogs/76/detail.html