Ruby on Rails 基础(11)

2021-11-25 22:33:12 浏览数 (1)

启动浏览器,可以进行访问


命令汇总

  • gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
  • curl -sSL https://get.rvm.io | bash -s stable
  • rvm list known
  • rvm list
  • rvm install 2.3
  • ruby -v
  • gem -v
  • sqlite3 --version
  • gem source -l
  • time gem sources --add https://gems.ruby-china.org/ --remove https://rubygems.org/
  • gem install rails
  • rails --version
  • gem list
  • rails new blog
  • cd blog/
  • head -n 3 Gemfile
  • vim Gemfile
  • gem install rake -v '11.1.2'
  • bundle install
  • tree
  • rails server
  • gem install uglifier
  • bundle exec spring binstub --all
  • bundle list | grep uglifier
  • yum install nodejs
  • rails server -b 0.0.0.0
  • netstat -ant | grep 300
  • iptables -L -nv | grep 3000

原文地址

0 人点赞