ruby获取最新ruby
rvm get stable
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
error
gpg: requesting key D39DC0E3 from hkp server keys.gnupg.net
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error
gpg --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3
command curl -sSL https://rvm.io/mpapis.asc | gpg --import -
sudo apt-get install gnupg2
sudo apt-get update
sudo apt-get install gnupg2
curl -sSL https://get.rvm.io | bash -s stable
command curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
command curl -sSL https://rvm.io/pkuczynski.asc | gpg2 --import -
curl -sSL https://get.rvm.io | bash -s stable
rvm reload
echo rvm_auto_reload_flag=1 >> ~/.rvmrc
echo rvm_auto_reload_flag=2 >> ~/.rvmrc