Skip to content

Commit

Permalink
update the example of generated postgresql config
Browse files Browse the repository at this point in the history
  • Loading branch information
amatsuda committed Jan 4, 2013
1 parent 654f0d6 commit 40c3d80
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions guides/source/command_line.md
Expand Up @@ -564,14 +564,20 @@ We had to create the **gitapp** directory and initialize an empty git repository
$ cat config/database.yml
# PostgreSQL. Versions 8.2 and up are supported.
#
# Install the ruby-postgres driver:
# gem install ruby-postgres
# On Mac OS X:
# gem install ruby-postgres -- --include=/usr/local/pgsql
# Install the pg driver:
# gem install pg
# On OS X with Homebrew:
# gem install pg -- --with-pg-config=/usr/local/bin/pg_config
# On OS X with MacPorts:
# gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config
# On Windows:
# gem install ruby-postgres
# gem install pg
# Choose the win32 build.
# Install PostgreSQL and put its /bin directory on your path.
#
# Configure Using Gemfile
# gem 'pg'
#
development:
adapter: postgresql
encoding: unicode
Expand Down

0 comments on commit 40c3d80

Please sign in to comment.