]> cat aescling's git repositories - mastodon.git/commitdiff
Export environment variables from .env.vagrant before running rails commands in Vagra...
authorEffy Elden <github@effy.is>
Sun, 23 Apr 2017 12:21:09 +0000 (22:21 +1000)
committerEugen <eugen@zeonfederated.com>
Sun, 23 Apr 2017 12:21:09 +0000 (14:21 +0200)
Vagrantfile

index c85db9205ec1cecacdb31c0b6405ff743485c5e8..2ff609425d2e8ffd60846a0ed66c1a68d5563176 100644 (file)
@@ -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