diff options
author | Drew Blessing <drew@gitlab.com> | 2016-06-01 10:01:14 -0500 |
---|---|---|
committer | Drew Blessing <drew@gitlab.com> | 2016-06-22 16:27:00 -0500 |
commit | 2538c4ec8ae0243b5b697f0a70740cc32df50b35 (patch) | |
tree | a300b569929e3148a83ad7150c9f9323291f6eb3 /doc/update/6.0-to-6.1.md | |
parent | 98cede7ebeae9dac994b35b66be6aab14eb932b3 (diff) | |
download | gitlab-ce-2538c4ec8ae0243b5b697f0a70740cc32df50b35.tar.gz |
Update docs based on customer upgrade from 4.0 [ci skip]
Diffstat (limited to 'doc/update/6.0-to-6.1.md')
-rw-r--r-- | doc/update/6.0-to-6.1.md | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/doc/update/6.0-to-6.1.md b/doc/update/6.0-to-6.1.md index c5eba1c01c4..409faf30902 100644 --- a/doc/update/6.0-to-6.1.md +++ b/doc/update/6.0-to-6.1.md @@ -50,13 +50,28 @@ sudo -u git -H git checkout v1.7.9 ```bash cd /home/git/gitlab +# The Modernizr gem was yanked from RubyGems. It is required for GitLab >= 2.8.0 +# Edit `Gemfile` and change `gem "modernizr", "2.5.3"` to +# `gem "modernizr-rails", "2.7.1"`` +sudo -u git -H vim Gemfile + # MySQL + +# Run a bundle install without deployment to generate the new Gemfile +sudo -u git -H bundle install --without development test postgres --no-deployment + +# Install libs (with deployment this time) sudo -u git -H bundle install --without development test postgres --deployment -#PostgreSQL -sudo -u git -H bundle install --without development test mysql --deployment +# PostgreSQL + +# Run a bundle install without deployment to generate the new Gemfile +sudo -u git -H bundle install --without development test mysql --no-deployment +# Install libs (with deployment this time) +sudo -u git -H bundle install --without development test mysql --deployment +# Both MySQL and PostgreSQL sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production sudo -u git -H bundle exec rake migrate_iids RAILS_ENV=production sudo -u git -H bundle exec rake assets:clean RAILS_ENV=production |