about summary refs log tree commit diff
path: root/Vagrantfile
diff options
context:
space:
mode:
authorStarfall <us@starfall.systems>2021-02-21 13:10:39 -0600
committerStarfall <us@starfall.systems>2021-02-21 13:10:39 -0600
commit86de4ec5559164a49b2790d774f8bba5af02c64f (patch)
tree804ac22f8ea54824346d336f9fe7664e205719ff /Vagrantfile
parent3693000bf6a94219e3cc4a29a6cb4ac51b78cf2a (diff)
parent8792128f38e19b0d7882468a4f1f9362b98793a0 (diff)
Merge remote-tracking branch 'glitchsoc/main' into main
Diffstat (limited to 'Vagrantfile')
-rw-r--r--Vagrantfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Vagrantfile b/Vagrantfile
index 143fa27fd..addc6b0f4 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -72,10 +72,12 @@ bundle install
 yarn install
 
 # Build Mastodon
+export RAILS_ENV=development 
 export $(cat ".env.vagrant" | xargs)
 bundle exec rails db:setup
 
 # Configure automatic loading of environment variable
+echo 'export RAILS_ENV=development' >> ~/.bash_profile
 echo 'export $(cat "/vagrant/.env.vagrant" | xargs)' >> ~/.bash_profile
 
 SCRIPT