第一步 关闭服务
# !!! Config should be replaced with a new one. Check it after replace
cp config/gitlab.yml.example config/gitlab.yml
bundle install --without development test
bundle exec rake db:migrate RAILS_ENV=production
本文转自 ppabc 51CTO博客,原文链接:http://blog.51cto.com/ppabc/999725