Add -H to sudo commands in 4.1-to-4.2.md

This commit is contained in:
Jacob Vosmaer 2013-10-02 09:29:40 +02:00
parent 970d86b7c5
commit 58b46cbcf6

View file

@ -12,15 +12,15 @@
cd /home/gitlab/gitlab/
# Get latest code
sudo -u gitlab git fetch
sudo -u gitlab -H git fetch
sudo -u gitlab git checkout 4-2-stable
sudo -u gitlab -H git checkout 4-2-stable
# Install libs
sudo -u gitlab bundle install --without development test postgres --deployment
sudo -u gitlab -H bundle install --without development test postgres --deployment
# update db
sudo -u gitlab bundle exec rake db:migrate RAILS_ENV=production
sudo -u gitlab -H bundle exec rake db:migrate RAILS_ENV=production
```