From 2.3 to 2.4 - Hopebaytech/gitlabhq GitHub Wiki
1. Update code & db
# Get latest code
git pull origin stable
# Install libs
bundle install --without development test
# update db
bundle exec rake db:migrate RAILS_ENV=production
# Enable automerge
bundle exec rake gitlab:app:enable_automerge RAILS_ENV=production