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
This may resolve the issue :-
Get the hba.conf file address by using command SHOW config_file; and SHOW hba_file; in sql prompt
SHOW config_file;
SHOW hba_file;
Now open hba.conf and add this host all all 0.0.0.0/0 trust
hba.conf
host all all 0.0.0.0/0 trust
Now open postgresql.conf and add listen_address = '*'
postgresql.conf
listen_address = '*'