更换镜像源
sources --add https://ruby.taobao.org/ --remove https://rubygems.org/
$ gem sources -l
*** CURRENT SOURCES ***
请确保只有 ruby.taobao.org
1. rvm安装
\curl -sSL https://get.rvm.io | bash -s -- --ignore-dotfiles
echo "source $HOME/.rvm/scripts/rvm" >> ~/.bashrc
source /etc/profile
source ~/.rvm/scripts/rvm
type rvm | head -n 1 >>>> rvm is a function
2.install ruby
rvm list known
rvm install version
\curl -sSL https://get.rvm.io | bash -s -- --ignore-dotfiles
echo "source $HOME/.rvm/scripts/rvm" >> ~/.bashrc
source /etc/profile
source ~/.rvm/scripts/rvm
type rvm | head -n 1 >>>> rvm is a function
2.install ruby
rvm list known
rvm install version
3.install rails
gem -v
gem install rails
gem -v
gem install rails
4、install sublime text
Ubuntu
For i386
cd ~ wget http://c758482.r82.cf2.rackcdn.com/sublime-text_build-3083_i386.deb
For x64
cd ~ wget http://c758482.r82.cf2.rackcdn.com/sublime-text_build-3083_amd64.deb