title: bundle exec rake assets:precompile - database configuration does not specify adapter
body: <p>After 24 hours of trying to find the problem with my app. I finally found the problem. </p>
  
  <p>I ran </p>
  
  <pre><code>rake assets:precompile RAILS_ENV=production
  </code></pre>
  
  <p>and i kept on getting this error.</p>
  
  <pre><code>/Users/vezu/.rvm/rubies/ruby-1.9.3-p194/bin/ruby /Users/vezu/.rvm/gems/ruby-1.9.3-p194@global/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets
  rake aborted!
  database configuration does not specify adapter
  
  Tasks: TOP =&gt; environment
  (See full trace by running task with --trace)
  rake aborted!
  Command failed with status (1): [/Users/vezu/.rvm/rubies/ruby-1.9.3-p194/bi...]
  </code></pre>
  
  <p>My database.yml file looks like this</p>
  
  <pre><code>development:
    adapter: postgresql
    host: localhost
    encoding: unicode
    database: ndoda_development
    pool: 5
    username:
    password:
  
  test:
    adapter: postgresql
    encoding: unicode
    database: ndoda_test
    pool: 5
  </code></pre>