I keep getting this error when i try to run my localhost using \"$rails s\":
(Mac OSX 10.8.3) (ruby 2.0.0p195 (2013-05-14 revision 40734) [x86_64-darwin12.3.0]) (R
In postgresql.conf, /var/lib/pgsql/data/postgresql.conf :
/var/lib/pgsql/data/postgresql.conf
change the listen_addresses = 'localhost' to listen_addresses = '*'
listen_addresses = 'localhost' to listen_addresses = '*'
enable the default port as 5432, port = 5432
port = 5432
Also in pg_hba.conf, /var/lib/pgsql/data/pg_hba.conf, try the authentication method as trust
/var/lib/pgsql/data/pg_hba.conf