bundle package   #保存gem到 vendor/cache

bundle install –local  从cache从安装

升级rails

bundle config –delete bin

rake rails:updaterails 学习笔记-LMLPHPin

git add bin

rails console

>> ActiveSupport::Inflector.pluralize "project"

config.active_record.schema_format = :sql #生成schema.rb

config/applicaton.rb

  console do
   require "pry"
config.console = Pry
end
>$LOAD_PATH

$rake log:clear
rake middleware rake doc:rails #生成本地文档
rake about
05-08 08:38