Skip to content

Instantly share code, notes, and snippets.

@chadwpry
Created January 13, 2012 21:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chadwpry/1608769 to your computer and use it in GitHub Desktop.
Save chadwpry/1608769 to your computer and use it in GitHub Desktop.
Postgres database.yml
# SQLite version 3.x
# gem install sqlite3-ruby (not necessary on OS X Leopard)
development:
adapter: postgresql
host: localhost
port: 5432
username: chad
password:
database: fudtruck_development
schema_search_path: public
encoding: utf8
template: base_postgis
test:
adapter: postgresql
host: localhost
port: 5432
username: chad
password:
database: fudtruck_test
schema_search_path: public
encoding: utf8
template: base_postgis
production:
adapter: sqlite3
database: db/production.sqlite3
pool: 5
timeout: 5000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment