Skip to content

Instantly share code, notes, and snippets.

@wlangstroth
wlangstroth / deploy.rb
Last active December 19, 2025 08:57
Capistrano + Nginx + Unicorn + Sinatra on Ubuntu
require 'bundler/capistrano'
set :application, "net"
set :repository, "[email protected]:net.git"
set :scm, :git
set :default_environment, {
'PATH' => "$HOME/.rbenv/shims:$HOME/.rbenv/bin:$PATH"
}