From 8f25db9067b57b84b7c8654af966f97294abb655 Mon Sep 17 00:00:00 2001 From: Gaurish Sharma Date: Mon, 9 Apr 2012 01:41:04 +0530 Subject: Added instructions on port number --- .../generators/rails/app/templates/config/databases/postgresql.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/railties/lib/rails/generators/rails/app/templates/config/databases/postgresql.yml b/railties/lib/rails/generators/rails/app/templates/config/databases/postgresql.yml index f08f86aac3..ea75c9c303 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/databases/postgresql.yml +++ b/railties/lib/rails/generators/rails/app/templates/config/databases/postgresql.yml @@ -24,6 +24,10 @@ development: # domain socket that doesn't need configuration. Windows does not have # domain sockets, so uncomment these lines. #host: localhost + + # The TCP port the server listens on; 5432 by default. + # Depending upon your configration, port number might be different. + # See your postgresql.conf file & set accordingly #port: 5432 # Schema search path. The server defaults to $user,public -- cgit v1.2.3