Skip to content

Instantly share code, notes, and snippets.

Deploy Rails app to digitalocean with nginx, unicorn, capistrano & postgres

Create droplet of your liking (ubuntu 12.10 x32)

ssh to root in terminal with your server ip

ssh root@123.123.123.123

Add ssh fingerprint and enter password provided in email

with_options :env => "test" do |test|
test.gem "cucumber"
test.gem "cucumber-rails"
end
with_options :env => "development" do |dev|
dev.gem "hirb"
end
gem "authlogic"
gem "will_paginate"
gem "haml" # only used for sass so compass works