This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ HOMEBREW_MAKE_JOBS=1 brew install -v php55 --with-homebrew-openssl --with-imap --with-pgsql --with-tidy 2>&1 | |
==> Downloading http://www.php.net/get/php-5.5.6.tar.bz2/from/this/mirror | |
Already downloaded: /Library/Caches/Homebrew/php55-5.5.6 | |
tar xf /Library/Caches/Homebrew/php55-5.5.6 | |
==> Patching | |
/usr/bin/patch -f -p1 -i 000-homebrew.diff | |
patching file configure | |
Hunk #1 succeeded at 39041 (offset 764 lines). | |
/usr/local/Library/Homebrew/formulary.rb:40: command not found: pg_config --includedir | |
==> ./configure --prefix=/usr/local/Cellar/php55/5.5.6 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/php/5.5 --with-config-file-path=/usr/local/etc/php/5.5 --with-config-file-scan-dir=/usr/local/etc/php/5.5/conf.d --with-iconv-dir=/usr --enable-dba --with-ndbm=/usr --enable-exif --enable-soap --enable-wddx --enable-ftp --enable-sockets --enable-zip --enable-shmop --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-mbstring --enable-mbregex --enable-bcmath --enable-calendar --with-zlib=/usr/local/op |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var App = App || {}; | |
App.UI = (function ($) { | |
var module = {}; | |
function Template(options) { | |
var defaults = { | |
cache: {} | |
, nav: {target: document.body, backLabel: "Back"} | |
, templatesDir: "templates" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Counting objects: 9, done. | |
Delta compression using up to 2 threads. | |
Compressing objects: 100% (6/6), done. | |
Writing objects: 100% (6/6), 635 bytes, done. | |
Total 6 (delta 4), reused 0 (delta 0) | |
-----> Node.js app detected | |
-----> Resolving engine versions | |
Using Node.js version: 0.6.20 | |
Using npm version: 1.0.106 | |
-----> Fetching Node.js binaries |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Postgresql < Formula | |
homepage 'http://www.postgresql.org/' | |
url 'http://ftp.postgresql.org/pub/source/v9.1.6/postgresql-9.1.6.tar.bz2' | |
sha1 'a24b7c002463572ee7371f055e566b69e39cda3e' | |
depends_on 'readline' | |
depends_on 'libxml2' if MacOS.leopard? # Leopard libxml is too old | |
depends_on 'ossp-uuid' unless build.include? 'without-ossp-uuid' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ brew install libxml2 libxslt | |
$ brew link libxml2 libxslt | |
$ gem install nokogiri -- --with-xml2-include=/usr/local/Cellar/libxml2/2.8.0/include/libxml2 \ | |
--with-xml2-lib=/usr/local/Cellar/libxml2/2.8.0/lib \ | |
--with-xslt-dir=/usr/local/Cellar/libxslt/1.1.26 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ENV["RAILS_ENV"] ||= "production" | |
module UnicornServer | |
# http://unicorn.bogomips.org/Unicorn/Configurator.html | |
CONFIG_PATH = File.join(Rails.root, "config", "unicorn.rb") | |
PID_PATH = File.join(Rails.root, "tmp", "pids", "unicorn.pid") | |
RBENV = %x[which rbenv].strip | |
DAEMON = "bundle exec unicorn_rails" | |
DAEMON_OPTS = "-c #{CONFIG_PATH} -E #{ENV["RAILS_ENV"]} -D" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
group :production do | |
gem "unicorn" | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ---------------------------------------------------------------------- | |
# Gzip compression | |
# ---------------------------------------------------------------------- | |
<IfModule mod_deflate.c> | |
# Force deflate for mangled headers developer.yahoo.com/blogs/ydn/posts/2010/12/pushing-beyond-gzipping/ | |
<IfModule mod_setenvif.c> | |
<IfModule mod_headers.c> | |
SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==> Installing gimp dependency: gegl | |
==> Downloading ftp://ftp.gimp.org/pub/gegl/0.2/gegl-0.2.0.tar.bz2 | |
Already downloaded: /Users/nebiros/Library/Caches/Homebrew/gegl-0.2.0.tar.bz2 | |
==> ./configure --disable-docs --disable-debug --prefix=/usr/local/Cellar/gegl/0.2.0 | |
checking whether make supports nested variables... yes | |
checking for a BSD-compatible install... /usr/local/bin/ginstall -c | |
checking whether build environment is sane... yes | |
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p | |
checking for gawk... no | |
checking for mawk... no |