1

I installed postgresql on my macbook via postgresql Graphical installer (http://www.postgresql.org/download/macosx/). Now I want to configure pg in my rails project but I dont know where can I find pg_conf path.

bundle config build.pg --with-pg-config=<path to pg_config>
lolix
  • 1,447
  • 2
  • 19
  • 23

1 Answers1

-1

simply add gem 'pg' in your gemfile. and let bundle install do the magic

update may be this will help too. gem install pg --with-pg-config works, bundle fails

also if you only want pg_config path, then try which pg_config in your terminal. it will give you its path.

Community
  • 1
  • 1
Ccr
  • 686
  • 7
  • 25