Error after cleaning tmp folder

This error means rails can’t talk to your postgresql server. Is your postgresql server running?