Commit a22c0f7

mo <mo.khan@gmail.com>
2017-11-11 23:19:27
try to resolve the ASCII error.
1 parent a5b2102
Changed files (1)
.gitlab-ci.yml
@@ -1,6 +1,10 @@
 image: ruby:2.2
 
 before_script:
+  - apt-get update && apt-get install -y locales
+  - echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
+  - locale-gen
+  - export LC_ALL=en_US.UTF-8
   - ruby -v
   - which ruby
   - gem install bundler --no-ri --no-rdoc
@@ -8,9 +12,5 @@ before_script:
   - bundle install --jobs $(nproc) "${FLAGS[@]}"
 
 rspec:
-  variables:
-    LANG: "en_US.UTF-8"
-    LANGUAGE: "en_US.UTF-8"
-    LC_ALL: "en_US.UTF-8"
   script:
     - bundle exec rspec