I have been using the default sqlite3 to date, however as I would ultimately like to deploy using postgres I think it would be best to try it out in my development environment rather than launching myself into production untested.
Several points a) once i have the pg.app running, how do test it? b) in my config/database.yml file
development:
adapter: postgresql
encoding: unicode
database:
pool: 5
username:
password:
how do i know what the default name of my database is, and how would I got about setting up a user, is this even necessary?
Finally, when i check
which psql
I am told that
/usr/bin/psql
I think that this PATH is incorrect that I will need to modify it, is this so and if so why?
Im sure this is relatively simple but thanks in advance for any help you can offer.
EDIT 1:
During my error googling, and prior attempts, I shot up a similar error to this chap Repairing Postgresql after upgrading to OSX 10.7 Lion and thought that it may be a similar problem despite the fact that he is using homebrew?
EDIT 2:
My .bash_profile file
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function export PATH=/usr/local/bin:$PATH