service ssh restart
ssh-keygen -C "181947237@qq.com" -t rsa
rm -rf name
mkdir name
sudo apt-get update
sudo apt-install XXX
bundler update rails
rails -v
bundler install
rvm install ruby版本
rvm env
rvm list
rvm use 2.7.2
rvm remove 2.0.0
sed -i 's!ruby.taobao.org/mirrors/ruby!cache.ruby-china.com/pub/ruby!' $rvm_path/config/db
bundle config mirror.https://rubygems.org https://gems.ruby-china.com
gem source -l
gem install do_sqlite3 -v '0.10.17'
gem install rails --version 4.2.3
gem install rails
gem install postgres-pr
sudo apt-get install libpq-dev
gem install pg -- --with-pg-lib=/usr/lib
gem install sequel
gem install sinatra
gem install padrino
gem install puma
gem install liquify -v '2.1.2'
gem uninstal
gem sources --remove https://rubygems.org/
gem sources -a https://gems.ruby-china.com/
gem sources -l
bundler
padrino s
rails s
ruby app.rb -s Puma