Skip to content

Instantly share code, notes, and snippets.

Installation

1)

brew install nginx
sudo cp /usr/local/Cellar/nginx/1.8.0/homebrew.mxcl.nginx.plist /Library/LaunchDaemons

2)

Replace /usr/local/etc/nginx/nginx.conf with the nginx.conf in this gist. I'm using port 8888 for my current project. Obviously, change server_name as well, and probably the name of its access log.

@jch
jch / en.yml
Created December 28, 2012 00:15 — forked from anonymous/en.yml
# find this file in config/locales/en.yml
# http://guides.rubyonrails.org/i18n.html
# https://github.com/svenfuchs/rails-i18n/blob/master/rails/locale/en.yml
number:
currency:
format:
delimiter: ","
format: "%u%n"
negative_format: "(%u%n)" # <-- wrap negative numbers in parenthesis
precision: 2
curl -O http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p0.tar.gz
tar xzvf ruby-1.9.3-p0.tar.gz
cd ruby-1.9.3-p0
./configure --enable-shared --disable-pthread --program-suffix n
make && make install