When I try to run my sample Rails 4.0.1 app on my localhost:3000, I get this error:
PG:: ConnectionsBad FATAL: role "myapp" does not exist.
I'm running on Maverick OSX and using Ruby 2.0. I created my sample app exactly as https://devcenter.heroku.com/articles/getting-started-with-rails4 instructed, but when I tried '$ rails server' , I got the error above. I'm running the current Postgres. I attempted to change pg_hba.conf according to other stackoverflow advice, but so far it's still not working. I can run on my localhost with MySQL3, but cannot with Postgresql. I want to run Postgresql in Development, Test and Production as per Heroku's advice.
Ref: Rails: Deploying to Heroku, Many Problems, Repairing postgresql after upgrade to OSX Mavericks