From 28f40b72053fdc684c975ea32c11820b47b75e52 Mon Sep 17 00:00:00 2001 From: Arif Ali Date: Tue, 4 Mar 2014 00:40:30 +0000 Subject: prioritise postgres in doc/update/patch_versions.md, assume postgres in doc/update/ruby.md --- doc/update/patch_versions.md | 6 +++--- doc/update/ruby.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/update') diff --git a/doc/update/patch_versions.md b/doc/update/patch_versions.md index b284ff48365..21b93c0b929 100644 --- a/doc/update/patch_versions.md +++ b/doc/update/patch_versions.md @@ -38,12 +38,12 @@ Replace LATEST_TAG with the latest GitLab Shell tag you want to upgrade to, for ```bash cd /home/git/gitlab -# MySQL -sudo -u git -H bundle install --without development test postgres --deployment - #PostgreSQL sudo -u git -H bundle install --without development test mysql --deployment +# MySQL +sudo -u git -H bundle install --without development test postgres --deployment + sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production sudo -u git -H bundle exec rake assets:clean RAILS_ENV=production sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production diff --git a/doc/update/ruby.md b/doc/update/ruby.md index 3fc068c0ae2..9d0cafb3f05 100644 --- a/doc/update/ruby.md +++ b/doc/update/ruby.md @@ -41,7 +41,7 @@ Just to be sure we will reinstall the gems used by GitLab. Note that the `bundle ```bash cd /home/git/gitlab sudo -u git -H rm -rf vendor/bundle # remove existing Gem bundle -sudo -u git -H bundle install --deployment --without development test postgres aws # Assuming MySQL +sudo -u git -H bundle install --deployment --without development test mysql aws # Assuming PostgreSQL ``` ### 6. Start GitLab -- cgit v1.2.1