Instalar Postgresql en Mountain Lion

brew install postgresqlinitdb /usr/local/var/postgres -E utf8mkdir -p ~/Library/LaunchAgents cp /usr/local/Cellar/postgresql/9.1.4/homebrew.mxcl.postgresql.plist ~/Library/LaunchAgents/ launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist Luego inicie manualmente la base de datos con: pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start A …

Leer más

Instalar SWIG usando Homebrew

brew install https://raw.github.com/cobrateam/formulae/master/swig.rb Contenido esencial: require ‘formula’class Swig < Formula url ‘http://downloads.sourceforge.net/project/swig/swig/swig-2.0.4/swig-2.0.4.tar.gz’ homepage ‘http://www.swig.org/’ md5 ‘4319c503ee3a13d2a53be9d828c3adc0’ depends_on ‘pcre’ def install system “./configure”, “–disable-debug”, “–disable-dependency-tracking”, “–prefix=#{prefix}” system “make” system “make install” …

Leer más