编程语言
首页 > 编程语言> > Ruby常用指令-持续更新

Ruby常用指令-持续更新

作者:互联网

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

搜索

复制

<iframe></iframe>

标签:https,--,Ruby,更新,指令,com,install,ruby,gem
来源: https://www.cnblogs.com/linyijia/p/16537585.html