commit: cc83ee60fb464037bb4705561109422063a0b47e
parent: 89dc29affbfe99cb84505cd65aa6e2adab8d2c7c
Author: Effy Elden <github@effy.is>
Date: Sun, 23 Apr 2017 22:21:09 +1000
Export environment variables from .env.vagrant before running rails commands in Vagrant provisioning (#2343)
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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