Skip to content

Instantly share code, notes, and snippets.

@fernandolopes
Created March 14, 2011 14:17
Show Gist options
  • Select an option

  • Save fernandolopes/869186 to your computer and use it in GitHub Desktop.

Select an option

Save fernandolopes/869186 to your computer and use it in GitHub Desktop.
# SQLite version 3.x
# gem install sqlite3-ruby (not necessary on OS X Leopard)
#development:
# adapter: sqlite3
# database: db/development.sqlite3
# pool: 5
# timeout: 5000
development:
adapter: postgresql
encoding: unicode
database: intranet_development
pool: 5
host: localhost
port: 5432
username: postgres
password: master
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
adapter: postgresql
encoding: unicode
database: intranet_test
pool: 5
host: localhost
port: 5432
username: postgres
password: master
production:
adapter: postgresql
encoding: unicode
database: intranet_production
pool: 5
host: localhost
port: 5432
username: postgres
password: master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment