diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7b96dbb287b95ab45ff91502001d44f3fc8235dd..90b8ecca76f3d41e07ff2e2ffb05cd67098484fe 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,6 +5,7 @@ default:
     - postgres:11.7
 
   before_script:
+    - apt-get update -yq
     - gem install bundler
     - bundle install