diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 29efba7958e4afc5919955dbece51e78a9152064..74fd457007ef53c8181b0455db5b2179ef64e8a3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,12 @@
-stages: # List of stages for jobs, and their order of execution
- - production
-
+before_script:
+ - apt-get update -qy
+ - apt-get install -y ruby-dev
+ - gem install dpl
+
+stages:
+ - production
+
+
production:
stage: production
image: ruby:latest
@@ -9,4 +15,3 @@ - gem install faraday -v 1.8.0
- dpl --provider=heroku --app=$HEROKU_APP --api-key=$HEROKU_API_KEY
only:
- master
-