I am running my development on Ubuntu 11.10, and RubyMine
Here is my development settings for the database.yml: which RubyMine created for me
develop
Adding host: localhost was the magic for me
host: localhost
development: adapter: postgresql database: database_name_here host: localhost username: user_name_here