Q:

Rails with pg "rake db:create"

I am using Windows bash for a Rails project with Postgre-sql. It's giving me the following error.
    **could not connect to server: No such file or directory**
    **Is the server running locally and accepting
    connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?**

Couldn't create 'myrubyblog' database. Please check your configuration.
rake aborted!
ActiveRecord::NoDatabaseError: could not connect to server: No such file or directory

A:

Verify that PostgreSQL itself is up and running on your machine.

