diff options
author | Rémy Coutable <remy@rymai.me> | 2016-05-04 18:56:01 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-05-04 18:56:01 +0300 |
commit | 66d8ef1ad9d5952b7e7f026658f71aafc861950e (patch) | |
tree | 3eb0f8762eac8a8b93cfe7f1d760a705ca937bb8 /doc | |
parent | 6a8359f3d3be01af6f5b124b61af7ee1c77c17d0 (diff) | |
parent | b677b0e33a04ead7edaad5ee528c915980b1c283 (diff) |
Merge branch 'doc-fix-db-gem-install-instructions' into 'master'
Update patch_versions.md with explicit --with statement for db gem group
## What does this MR do?
Updates `patch_versions.md`'s instructions on installing gems to explicitly install either the postgres or mysql groups.
## Are there points in the code the reviewer needs to double check?
No, but thank you for your time.
## Why was this MR needed?
I performed the steps listed in `patch_versions.md` and ran the command for updating postgres gems. Bundler told me at the end that it had not installed the postgres gem group, which caused the next step, migrating the DB, to fail for obvious reasons.
Changing the command to `--with postgres` made it install the postgres gem group, and db:migrate then passed.
## What are the relevant issue numbers?
None
## Screenshots (if relevant)
N/A
See merge request !3955
Diffstat (limited to 'doc')
-rw-r--r-- | doc/update/patch_versions.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/update/patch_versions.md b/doc/update/patch_versions.md index 60729316cde..b4283a526f3 100644 --- a/doc/update/patch_versions.md +++ b/doc/update/patch_versions.md @@ -57,10 +57,10 @@ sudo -u git -H make cd /home/git/gitlab # PostgreSQL -sudo -u git -H bundle install --without development test mysql --deployment +sudo -u git -H bundle install --without development test mysql --with postgres --deployment # MySQL -sudo -u git -H bundle install --without development test postgres --deployment +sudo -u git -H bundle install --without development test postgres --with mysql --deployment # Optional: clean up old gems sudo -u git -H bundle clean |