Skip to content

Instantly share code, notes, and snippets.

# From:
# Also see:
set -e
# Example init script, this can be used with nginx, too,
# since nginx and unicorn accept the same signals
# Feel free to change any of the following variables for your app:
View nginx.conf
# From:
worker_processes 1;
user nobody nogroup;
pid /tmp/;
error_log /tmp/nginx.error.log;
events {
worker_connections 1024; # increase if you have lots of clients
accept_mutex off; # "on" if nginx worker_processes > 1
futuremill / gist:2318876
Created Apr 6, 2012
Building Ruby 1.9.3 package for Debian Squeeze
View gist:2318876
# From a fresh install of squeeze
apt-get install ruby rubygems # Need ruby to use fpm
gem1.8 install fpm --no-ri --no-rdoc
apt-get install build-essential openssl libreadline6 libreadline6-dev zlib1g zlib1g-dev libssl-dev ncurses-dev libyaml-dev
tar -zxvf ruby-1.9.3-p125.tar.gz
cd ruby-1.9.3-p125
rm -rf /tmp/ruby193
You can’t perform that action at this time.