Commit 28f40b72053fdc684c975ea32c11820b47b75e52

Authored by Arif Ali
1 parent affc37ad

prioritise postgres in doc/update/patch_versions.md, assume postgres in doc/update/ruby.md

doc/update/patch_versions.md
@@ -38,12 +38,12 @@ Replace LATEST_TAG with the latest GitLab Shell tag you want to upgrade to, for @@ -38,12 +38,12 @@ Replace LATEST_TAG with the latest GitLab Shell tag you want to upgrade to, for
38 ```bash 38 ```bash
39 cd /home/git/gitlab 39 cd /home/git/gitlab
40 40
41 -# MySQL  
42 -sudo -u git -H bundle install --without development test postgres --deployment  
43 -  
44 #PostgreSQL 41 #PostgreSQL
45 sudo -u git -H bundle install --without development test mysql --deployment 42 sudo -u git -H bundle install --without development test mysql --deployment
46 43
  44 +# MySQL
  45 +sudo -u git -H bundle install --without development test postgres --deployment
  46 +
47 sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production 47 sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production
48 sudo -u git -H bundle exec rake assets:clean RAILS_ENV=production 48 sudo -u git -H bundle exec rake assets:clean RAILS_ENV=production
49 sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production 49 sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production
doc/update/ruby.md
@@ -41,7 +41,7 @@ Just to be sure we will reinstall the gems used by GitLab. Note that the `bundle @@ -41,7 +41,7 @@ Just to be sure we will reinstall the gems used by GitLab. Note that the `bundle
41 ```bash 41 ```bash
42 cd /home/git/gitlab 42 cd /home/git/gitlab
43 sudo -u git -H rm -rf vendor/bundle # remove existing Gem bundle 43 sudo -u git -H rm -rf vendor/bundle # remove existing Gem bundle
44 -sudo -u git -H bundle install --deployment --without development test postgres aws # Assuming MySQL 44 +sudo -u git -H bundle install --deployment --without development test mysql aws # Assuming PostgreSQL
45 ``` 45 ```
46 46
47 ### 6. Start GitLab 47 ### 6. Start GitLab