gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
\curl -sSL https://get.rvm.io | bash -s stable
source ~/.bashrc
source ~/.bash_profile
修改源
echo "ruby_url=https://cache.ruby-china.org/pub/ruby" > ~/.rvm/user/db
查看版本
rvm list known
rvm install 2.2.4 --disable-binary
rvm reinstall 2.2.4 --disable-binary --verify-downloads 2
rvm use 2.2.4
rvm use 2.2.4 --default
https://ruby-china.org/wiki/rvm-guide
安装rails
gem sources --add https://gems.ruby-china.org/ --remove https://rubygems.org/
gem install bundler
gem install rails
rails入门
http://guides.ruby-china.org/
下载rubymine解压可以使用
ls:
http://www.iteblog.com/idea/key.php