Install Redmine 3.2.0 On Ubuntu: Preparation
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Install Redmine 3.2.0 On Ubuntu: Preparation相关的知识,希望对你有一定的参考价值。
Update Ubuntu Source list
cd /etc/apt
sudo cp sources.list sources.list.save
sudo vi sources.list
Be aware of your Ubuntu‘s version, my ubuntu is 14.04. so my source list is as follows:
deb http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse
Update RubyGems Source
Set gem source
$ gem sources --add https://ruby.taobao.org/ --remove https://rubygems.org/
$ gem sources -l
*** CURRENT SOURCES ***https://ruby.taobao.org
Set bundle gem mirror source
$ bundle config mirror.https://rubygems.org https://ruby.taobao.org
Set RVM source
FOR MAC
$ sed -i .bak -E ‘s!https?://cache.ruby-lang.org/pub/ruby!https://ruby.taobao.org/mirrors/ruby!‘ $rvm_path/config/db
FOR LINUX
$ sed -i -E ‘s!https?://cache.ruby-lang.org/pub/ruby!https://ruby.taobao.org/mirrors/ruby!‘ $rvm_path/config/db
Reference
以上是关于Install Redmine 3.2.0 On Ubuntu: Preparation的主要内容,如果未能解决你的问题,请参考以下文章