Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #7898 from olivierlacan/pg_homebrew_instructions

Offer instructions for pg gem when installed via Homebrew
  • Loading branch information...
commit 2441160c05f16c28ab466105de8d0c4474b76ddd 2 parents ddb9469 + 58d69a5
Vijay Dev vijaydev authored
4 railties/lib/rails/generators/rails/app/templates/config/databases/postgresql.yml
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.