Skip to content

Instantly share code, notes, and snippets.

@edavey
edavey / postgresql_brew
Created March 7, 2012 16:41
postgresql and homebrew woes
[0]edavey@ed-air:/usr/local/mysql$ brew install postgres [master] 16:39:31
==> Downloading http://ftp.postgresql.org/pub/source/v9.1.3/postgresql-9.1.3.tar.bz2
File already downloaded in /Users/edavey/Library/Caches/Homebrew
/Users/edavey/.rvm/rubies/ruby-1.8.7-p357/lib/ruby/1.8/fileutils.rb:243: command not found: uuid-config --cflags
/Users/edavey/.rvm/rubies/ruby-1.8.7-p357/lib/ruby/1.8/fileutils.rb:243: command not found: uuid-config --ldflags
/Users/edavey/.rvm/rubies/ruby-1.8.7-p357/lib/ruby/1.8/fileutils.rb:243: command not found: uuid-config --libs
==> ./configure --disable-debug --prefix=/usr/local/Cellar/postgresql/9.1.3 --datadir=/usr/local/Cellar/postgresql/9.1.3/share/p
checking build system type... x86_64-apple-darwin11.2.0
checking host system type... x86_64-apple-darwin11.2.0
checking which template to use... darwin
# credit to Faisal N. Jawdat on 09 Mar 18:19 in comments on
# http://weblog.rubyonrails.org/2006/3/9/fast-rake-task-completion-for-zsh
function _rake_does_task_list_need_generating () {
if [ ! -f .rake_tasks ]; then
return 0;
else
accurate=$(stat -f%m .rake_tasks)
changed=$(stat -f%m Rakefile)
return $(expr $accurate '>=' $changed)
#!/usr/bin/env ruby -rcgi
# By Henrik Nyh <http://henrik.nyh.se> 2007-06-26
# Free to modify and redistribute with credit.
%w{ui web_preview escape}.each { |lib| require "%s/lib/%s" % [ENV['TM_SUPPORT_PATH'], lib] }
NAME = "Grep in Project"
HEAD = <<-HTML
<style type="text/css">