Commit 64835feb by David Baumgold

vagrant: .bash_profile loads .bashrc

Otherwise, `vagrant ssh` doesn't load the rbenv shims, because that line is in
the .bashrc file.
parent 0a2eda63
......@@ -75,6 +75,11 @@ chown vagrant.vagrant /opt/edx /opt/edx/node_modules /opt/edx/edx-platform/node_
}
sudo -u vagrant -i bash -c "cd /opt/edx/edx-platform && PROJECT_HOME=/opt/edx ./scripts/create-dev-env.sh -ynq"
# Load .bashrc ################################################################
([[ -f ~vagrant/.bash_profile ]] && grep ".bashrc" ~vagrant/.bash_profile) || {
echo -e "\n. /home/vagrant/.bashrc\n" >> ~vagrant/.bash_profile
}
# Virtualenv - Always load ####################################################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment