狄烁STEC的试验场

hello earth

导航

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

 

posted on 2013-10-31 17:21  狄烁STEC  阅读(625)  评论(0编辑  收藏  举报