diff options
author | Olivier Lacan <olivier.lacan@gmail.com> | 2012-10-10 11:02:32 -0400 |
---|---|---|
committer | Olivier Lacan <olivier.lacan@gmail.com> | 2012-10-10 11:02:32 -0400 |
commit | 58d69a536cfa067f9b1e963e20162ff4c26dc32c (patch) | |
tree | c98b59a97526147090fcdd21fedf6c410f613bbd /railties | |
parent | da1aa759b0004e058a60229bb6cbf3363887d498 (diff) | |
download | rails-58d69a536cfa067f9b1e963e20162ff4c26dc32c.tar.gz rails-58d69a536cfa067f9b1e963e20162ff4c26dc32c.tar.bz2 rails-58d69a536cfa067f9b1e963e20162ff4c26dc32c.zip |
Offer instructions for pg gem when installed via Homebrew
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/databases/postgresql.yml | 4 |
1 files changed, 3 insertions, 1 deletions
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 07223a71c9..22c9194fad 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 @@ -2,7 +2,9 @@ # # Install the pg driver: # gem install pg -# On Mac OS X with macports: +# 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 pg |