diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a9bfca32ac80b1a1e89e4d07acb77337d1fbcffe..0b0b15e2cefd6afdc70127be0d0817284f3dd926 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,7 +1,12 @@
-test:
-  script:
-  - export $BUNDLE_PATH='~/'
-  - export BUNDLE_PATH='~/'
+before_script:
+  - gem install bundler
   - bundle install
-  - bundle exec rake db:migrate RAILS_ENV=test
-  - bundle exec rake test
\ No newline at end of file
+  - bundle exec rake db:create
+
+test:
+  test: "rake test"
+  tags:
+    - ruby
+    - postgres
+    - elasticsearch
+    - redis
\ No newline at end of file