about summary refs log tree commit diff
path: root/Vagrantfile
diff options
context:
space:
mode:
authorEffy Elden <github@effy.is>2017-04-23 22:21:09 +1000
committerEugen <eugen@zeonfederated.com>2017-04-23 14:21:09 +0200
commitcc83ee60fb464037bb4705561109422063a0b47e (patch)
tree7b841849e0a4adf72ad240fbf2eeab6e286e1095 /Vagrantfile
parent89dc29affbfe99cb84505cd65aa6e2adab8d2c7c (diff)
Export environment variables from .env.vagrant before running rails commands in Vagrant provisioning (#2343)
Diffstat (limited to 'Vagrantfile')
-rw-r--r--Vagrantfile1
1 files changed, 1 insertions, 0 deletions
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