本文共 570 字,大约阅读时间需要 1 分钟。
第一步 关闭服务
sudo -u gitlab git pull origin stable
sudo -u gitlab bundle install --without development test
sudo -u gitlab bundle exec rake db:migrate RAILS_ENV=production
sudo cp ./lib/hooks/post-receive /home/git/share/gitolite/hooks/common/post-receive
sudo chown git:git /home/git/share/gitolite/hooks/common/post-receive
sudo -u gitlab bundle exec rake gitlab:app:status RAILS_ENV=production
转载地址:http://ajevl.baihongyu.com/