Deploy from master now that rg-sharding has been merged into master.
Remove extraneous "end" statement causing errors.
Deploy app as "ubuntu" user (unfortunately, nginx/unicorn still run as root.