summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarin Jankovski <maxlazio@gmail.com>2015-03-26 09:08:47 -0700
committerMarin Jankovski <maxlazio@gmail.com>2015-03-26 09:08:47 -0700
commitfa2afe98d181dc986e4eade5b5ac3215ed957d31 (patch)
tree28afb3f844db1c1531031eab81519422627266ba /doc
parent56e38f55bfebda0f6148fde8ebc087eb79ba38da (diff)
downloadgitlab-ci-fa2afe98d181dc986e4eade5b5ac3215ed957d31.tar.gz
Add a troubleshooting node in the ce build example
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/build_script_gitlab_ce.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/examples/build_script_gitlab_ce.md b/doc/examples/build_script_gitlab_ce.md
index 50fb059..8b28d49 100644
--- a/doc/examples/build_script_gitlab_ce.md
+++ b/doc/examples/build_script_gitlab_ce.md
@@ -51,3 +51,22 @@ cp config/gitlab.yml.example config/gitlab.yml
RAILS_ENV=test bundle exec rake db:drop db:create
RAILS_ENV=test bundle exec rake test
```
+
+# Troubleshooting
+
+## InvalidByteSequenceError
+
+Test pass locally but on CI there is an error with encoding.
+One of the possible solutions for error: `Encoding::InvalidByteSequenceError: "\xF0" on US-ASCII` during build is setting the correct locale in the build job:
+
+```
+export LC_CTYPE=en_US.UTF-8
+
+```
+
+or
+
+```
+export LANG=en_US.UTF-8
+```
+