Skip to content

Instantly share code, notes, and snippets.

@typeoneerror
Created August 17, 2011 20:26
Show Gist options
  • Select an option

  • Save typeoneerror/1152518 to your computer and use it in GitHub Desktop.

Select an option

Save typeoneerror/1152518 to your computer and use it in GitHub Desktop.
postgres install
# installing the gem after
# brew install postgresql
sudo env ARCHFLAGS="-arch x86_64" gem install --no-ri --no-rdoc pg -- --with-pg-config=/usr/local/Cellar/postgresql/9.0.4/bin/pg_config
# in rails app
export PATH=/usr/local/Cellar/postgresql/9.0.4/bin:$PATH
export ARCHFLAGS="-arch x86_64"
bundle install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment