From cc83ee60fb464037bb4705561109422063a0b47e Mon Sep 17 00:00:00 2001
From: Effy Elden <github@effy.is>
Date: Sun, 23 Apr 2017 22:21:09 +1000
Subject: [PATCH] Export environment variables from .env.vagrant before running
 rails commands in Vagrant provisioning (#2343)

---
 Vagrantfile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Vagrantfile b/Vagrantfile
index c85db9205..2ff609425 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -63,6 +63,7 @@ bundle install
 yarn install
 
 # Build Mastodon
+export $(cat ".env.vagrant" | xargs)
 bundle exec rails db:setup
 bundle exec rails assets:precompile
 
-- 
GitLab