From 93bc8534c5364acc020ef2ae3b7f425b37292194 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Henning?= <soeren.henning@email.uni-kiel.de>
Date: Thu, 1 Jul 2021 10:55:28 +0200
Subject: [PATCH] Install gems in pipeline

---
 .gitlab-ci.yml | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 413ebf38a..0fe9fa99f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -20,12 +20,17 @@ stages:
 
 build-docs:
   stage: build
-  image: jekyll/jekyll
+  image: ruby:2.7
   tags:
     - exec-docker
-  script:
+  cache:
+    paths:
+      - vendor/
+  before_script:
     - cd docs
-    - bundle exec jekyll build
+    - gem install bundler
+    - bundle install --path vendor
+  script: bundle exec jekyll build
 
 
 # Theodolite Helm Chart
-- 
GitLab