title: rake aborted! PG::ConnectionBad: fe_sendauth: no password supplied Tasks: TOP => db:migrate (See full trace by running task with --trace)
body: <p>I get the following when trying a <code>rake db:migrate</code></p>
  
  <pre><code>rake aborted!
  PG::ConnectionBad: fe_sendauth: no password supplied
  
  Tasks: TOP =&gt; db:migrate
  (See full trace by running task with --trace)
  </code></pre>
  
  <p>I also get a similar message when going to my localhost </p>
  
  <pre><code>fe_sendauth: no password supplied
  </code></pre>
  
  <p>My rails server and rails console won't work either</p>
  
  <p>I've been trying a few things and this is what my gemfile currently looks like:</p>
  
  <pre><code>source 'https://rubygems.org'
  ruby '2.0.0'
  
  # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
  gem 'rails', '4.0.3'
  
  # Use SCSS for stylesheets
  gem 'sass-rails', '~&gt; 4.0.0'
  
  # Use Uglifier as compressor for JavaScript assets
  gem 'uglifier', '&gt;= 1.3.0'
  
  # Use CoffeeScript for .js.coffee assets and views
  gem 'coffee-rails', '~&gt; 4.0.0'
  
  # See https://github.com/sstephenson/execjs#readme for more supported runtimes
  # gem 'therubyracer', platforms: :ruby
  
  # Use jquery as the JavaScript library
  gem 'jquery-rails'
  
  # Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
  gem 'turbolinks'
  
  # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
  gem 'jbuilder', '~&gt; 1.2'
  gem 'devise'
  
  
  gem 'pg'
  
  group :doc do
    # bundle exec rake doc:rails generates the API under doc/api.
    gem 'sdoc', require: false
  end
  
  
  group :production do
    gem 'rails_12factor'
  end
  </code></pre>
  
  <p>and my database.yml</p>
  
  <pre><code>development:
    adapter: postgresql
    encoding: unicode
    database: myapp_development
    pool: 5
    username: myapp
    password:
  
  test:
    adapter: postgresql
    encoding: unicode
    database: myapp_test
    pool: 5
    username: myapp
    password:
  
  production:
    adapter: postgresql
    encoding: unicode
    database: myapp_production
    pool: 5
    username: myapp
    password:
  </code></pre>
  
  <p>What is the problem? It seems that to access my postgres table locally I need some sort of password? My app works fine when it is run through Heroku. So I am just doing Heroku open and I can submit new links and posts as my app is intended but it won't work locally. </p>