Install Ruby on Rails pg gem on MACOSX with Postgres.app
Hello everybody. Happened many times that i forgot the command to install the pg (postgres) gem for Ruby on Rails. For this reason i wrote this article in order to help anybody who has the same problem. If you are using the postgres.app application on your MacOSX here is the command that you need to run: gem install pg -- --with-pg-dir="/Applications/Postgres93.app/Contents/MacOS/"