How to deal with _sass converting errors?

Thanks again, @rdyar!

I had the kind of “official” .gitlab-ci.yml for jekyll. And it has only one line on its pages: scripts:, which is: - bundle exec jekyll build -d public.

On the issues mentioned on the first post, there are some mentions to adding something about the locale (such as - export LANG=en_US.UTF-8), but I wasn’t sure at this should be on the .gitlab-ci.yml, and even if it should be there, I didn’t know where exactly. However, thanks to your .gitlab-ci.yml it is working now.

I took the first 8 lines of your pages: script: section, and added them before the - bundle exec jekyll build -d public.

Here is the whole file for reference (in case anyone needs it):

image: ruby:2.3

variables:
  JEKYLL_ENV: production

before_script:
  - bundle install

test:
  stage: test
  script:
  - bundle exec jekyll build -d test
  artifacts:
    paths:
    - test
  except:
  - master

pages:
  stage: deploy
  script:
  - apt-get update -y
  - apt-get install -y openjdk-7-jre-headless
  - apt-get install -y locales
  - echo "en_US UTF-8" > /etc/locale.gen
  - locale-gen en_US.UTF-8
  - export LANG=en_US.UTF-8
  - export LANGUAGE=en_US:en
  - export LC_ALL=en_US.UTF-8
  - bundle exec jekyll build -d public
  artifacts:
    paths:
    - public
  only:
  - master

I’m not sure if this is most effective way to solve the problem, but it does work (but any feedback is welcome). :slight_smile:

If anyone has any idea on how to properly understanding these “_sass” erros, I would be really thankful. And any suggestion to a better title to this topic would be appreciated as well.