diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6e3af199300f4bb4ba1bae9b23bdce9b196f79ab..dc39807001b1759f0832aaf659756e90ce74416f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,7 +10,7 @@ test:
   - apt-get install -y nodejs npm
   - npm install -g bower
   - bundle install --path vendor
-  - bower install
+  - bower --allow-root install
   - bundle exec middleman build
   except:
     - master
@@ -21,7 +21,7 @@ pages:
   - apt-get install -y nodejs npm
   - npm install -g bower
   - bundle install --path vendor
-  - bower install
+  - bower --allow-root install
   - bundle exec middleman build
   artifacts:
     paths: