Ruby 服务器

sudo vi /etc/apt/sources.list
deb http://mirror.pacific.net.au/linux/ubuntu/ gutsy universe restricted main multiverse 
deb-src http://mirror.pacific.net.au/linux/ubuntu/ gutsy universe restricted main multiverse 
deb http://security.ubuntu.com/ubuntu/ gutsy-security universe main multiverse restricted 
deb-src http://mirror.pacific.net.au/linux/ubuntu/ gutsy-security universe main multiverse restricted 
deb http://mirror.pacific.net.au/linux/ubuntu/ gutsy-updates universe main multiverse restricted 
deb-src http://mirror.pacific.net.au/linux/ubuntu/ gutsy-updates universe main multiverse restricted 
deb http://mirror.pacific.net.au/linux/ubuntu/ gutsy-proposed universe main multiverse restricted 
deb-src http://mirror.pacific.net.au/linux/ubuntu/ gutsy-proposed universe main multiverse restricted 
deb http://mirror.pacific.net.au/linux/ubuntu/ gutsy-backports universe main multiverse restricted 
deb-src http://mirror.pacific.net.au/linux/ubuntu/ gutsy-backports universe main multiverse restricted

sudo apt-get update; sudo apt-get dist-upgrade
sudo apt-get upgrade

耗时 4 小时


install ruby
http://forum.ubuntu.org.cn/viewtopic.php?t=68851

sudo ln -s /usr/local/bin/gem1.8 /usr/bin/gem

你可能感兴趣的:(.net,linux,Security,ubuntu,Ruby)