Skip to content
Snippets Groups Projects
Unverified Commit eb23f985 authored by chandrn7's avatar chandrn7 Committed by GitHub
Browse files

Fixed issue with .env.vagrant not setting RAILS_ENV variable (#15709)

* Fixed issue with .env.vagrant not setting RAILS_ENV variable

* made change to fix RAILS_ENV issue in Vagrantfile instead of .env.vagrant
parent 08ae116d
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment