复制文件到当前目录,并替换Gemfire

cp test_rails_crud/config/database.yml my_fruits/config

复制文件到当前目录,并命名为rrr

cp ../test_rails_crud/Gemfile ./rrr

同一个文件夹复制并改名

 

bundle1 exec rails s

bundle exec rails console

bundle exec rails generate migration create_books

bundle exec thin start

bundle1 install

bundle1 exec thin start

bundle1 exec thin start -e production

bundle1 exec thin start -C config/thin.yml

bundle1 exec rake assets:precompile RALIS_ENV=production

git status

ps -ef | grep thin

ps -ef | grep thin

git commit -m 'xxx'