Add Capistrano and RVM-Capistrano gems
Add Capistrano configuration
Install Unicorn and set it as the web server
[Re]start Unicorn after each deploy
Extend Unicorn config file with useful options
Remove 'unicorn:restart' task from deploy.rb - Capistrano-Unicorn gem has it.
Move Unicorn config from deploy.rb to its own file, in release
Add Unicorn pid file location to its config
Add error log path to Unicorn config
Move Capistrano-related gems to the :development group
Experimental deploy config changes
Satisfy capistrano-unicorn gem but actually use all defaults
Make Unicorn create a pid file (it is nil by default)
Move RVM tasks above the library inclusion

According to https://github.com/wayneeseguin/rvm-capistrano#example
Change server config back to "production"
Shut down old Unicorn instance from a new one
Use just "unicorn" instead of "unicorn_rails"

unicorn_rails is an old feature
Unicorn docs say we can use just unicorn now
Clean up deploy config
Serve static assets
Migrate the database after code update

It is very strange that this is not the default behavior.