== README
T# 创建项目 $ rails new capstrano_demo -B -T
$ rails g scaffold post title content:text
gem 'capistrano' gem 'capistrano-rails' gem 'capistrano-rvm'
$ bundle install
$ bundle exec cap install $ git remote add origin https://github.com/polarlights/capstrano_demo $ git push -u origin master
$ sudo rvm requirements $ sudo apt-get install git ndoejs
sudo groupadd web sudo useradd -m -g web -G rvm web -s /bin/bash
$ vim ~/.ssh/authorized_keys
$ bundle exec cap production deploy:check