1, ctrl+alt+"t"=>Terminal
2, Install GPG keys:
gpg --keyserver hkp://ipv4.pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
3, For installing RVM with default Ruby and Rails in one command, run:
\curl -sSL https://get.rvm.io | bash -s stable --rails
4, source ~/.rvm/scripts/rvm
5, Test:If you open a new shell and running,does not show rvm is a function, RVM isn't being sourced correctly.
type rvm | head -1
6,
# gem sources --remove https://rubygems.org/
# gem sources --add https://gems.ruby-china.com/
gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/
7, Check:
gem sources -l