From: Effy Elden Date: Sun, 23 Apr 2017 12:21:09 +0000 (+1000) Subject: Export environment variables from .env.vagrant before running rails commands in Vagra... X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=cc83ee60fb464037bb4705561109422063a0b47e;p=mastodon.git Export environment variables from .env.vagrant before running rails commands in Vagrant provisioning (#2343) --- 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