summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Mehlmauer <firefart@gmail.com>2016-02-14 10:31:28 +0100
committerChristian Mehlmauer <firefart@gmail.com>2016-02-14 10:31:28 +0100
commit7ea3bbd4e0b01b4d25a984f5e6c0471053d8874a (patch)
treed523f26bd6699a08c08c4a77e58d65f12057f50a
parentdc3ea7eb74463c4d6576a96dc0eabd67024bd9c7 (diff)
downloadgitlab-ce-7ea3bbd4e0b01b4d25a984f5e6c0471053d8874a.tar.gz
add bundle clean to upgrade docs
-rw-r--r--doc/update/8.4-to-8.5.md3
-rw-r--r--doc/update/patch_versions.md1
2 files changed, 4 insertions, 0 deletions
diff --git a/doc/update/8.4-to-8.5.md b/doc/update/8.4-to-8.5.md
index 42b26439848..c8083a45470 100644
--- a/doc/update/8.4-to-8.5.md
+++ b/doc/update/8.4-to-8.5.md
@@ -64,6 +64,9 @@ sudo -u git -H bundle install --without postgres development test --deployment
# PostgreSQL installations (note: the line below states '--without mysql')
sudo -u git -H bundle install --without mysql development test --deployment
+# Clean up old gems
+sudo -u git -H bundle clean
+
# Run database migrations
sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production
diff --git a/doc/update/patch_versions.md b/doc/update/patch_versions.md
index a10e62877ba..ce7ae0d285c 100644
--- a/doc/update/patch_versions.md
+++ b/doc/update/patch_versions.md
@@ -62,6 +62,7 @@ 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 clean
sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production
sudo -u git -H bundle exec rake assets:clean assets:precompile cache:clear RAILS_ENV=production
```