gitlab 安装提速
因为城墙的问题必须该用国内的taobao源
# 更换源地址
gem sources --remove https://rubygems.org/ gem sources -a http://ruby.taobao.org/ gem sources -u
执行bundle install之前修改Gemfile
# 修改安装脚本源地址 cd /home/git/gitlab sed -i '1s/https/http/g' /home/git/gitlab/Gemfile sed -i '1s/rubygems/ruby.taobao/g' /home/git/gitlab/Gemfile