Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1 # PostgreSQL. Versions 7.4 and 8.x are supported.
- 2 #
- 3 # Install the ruby-postgres driver:
- 4 # gem install ruby-postgres
- 5 # On Mac OS X:
- 6 # gem install ruby-postgres -- --include=/usr/local/pgsql
- 7 # On Windows:
- 8 # gem install ruby-postgres
- 9 # Choose the win32 build.
- 10 # Install PostgreSQL and put its /bin directory on your path.
- 11 development:
- 12 adapter: pg
- 13 encoding: unicode
- 14 database: erdlv_development
- 15 pool: 5
- 16 username: erdlv
- 17 password:
- 18
- 19 # Connect on a TCP socket. Omitted by default since the client uses a
- 20 # domain socket that doesn't need configuration. Windows does not have
- 21 # domain sockets, so uncomment these lines.
- 22 #host: localhost
- 23 #port: 5432
- 24
- 25 # Schema search path. The server defaults to $user,public
- 26 #schema_search_path: myapp,sharedapp,public
- 27
- 28 # Minimum log levels, in increasing order:
- 29 # debug5, debug4, debug3, debug2, debug1,
- 30 # log, notice, warning, error, fatal, and panic
- 31 # The server defaults to notice.
- 32 #min_messages: warning
- 33
- 34 # Warning: The database defined as "test" will be erased and
- 35 # re-generated from your development database when you run "rake".
- 36 # Do not set this db to the same as development or production.
- 37 test:
- 38 adapter: postgresql
- 39 encoding: unicode
- 40 database: erdlv_test
- 41 pool: 5
- 42 username: erdlv
- 43 password:
- 44
- 45 production:
- 46 adapter: postgresql
- 47 encoding: unicode
- 48 database: erdlv_production
- 49 pool: 5
- 50 username: erdlv
- 51 password:
Add Comment
Please, Sign In to add comment