title: rake assets:precompile RAILS_ENV=production Error
body: <p>I want to deploy a spree app to heroku and in order to do that I need to precompile my assets locally 
  I did </p>
  
  <pre><code>heroku addons:create heroku-postgresql 
  </code></pre>
  
  <p>then I added config/application.rb </p>
  
  <pre><code>config.assets.initialize_on_precompile = false
  </code></pre>
  
  <p>my database.yaml file is </p>
  
  <pre><code>default: &amp;default
    adapter: postgresql
    encoding: unicode
    pool: 5
  
  development:
    &lt;&lt;: *default
    host: localhost
    database: anzels_development
    username: anzels
    password: 1234
  
  test:
    &lt;&lt;: *default
    host: localhost
    database: anzels_test
    username: anzels
    password: 1234
  
  
  production:
    adapter: postgresql
    encoding: unicode
    database: anzels_production
    pool: 5
    password:
  </code></pre>
  
  <p>and whenever I run  </p>
  
  <pre><code>sumeet@sumi-pc:~/anzels$ rake assets:precompile RAILS_ENV=production
  </code></pre>
  
  <p>I get an error
  rake aborted!</p>
  
  <pre><code>ActiveRecord::NoDatabaseError: FATAL:  role "sumeet" does not exist
  /home/sumeet/anzels/config/environment.rb:5:in `&lt;top (required)&gt;'
  PG::ConnectionBad: FATAL:  role "sumeet" does not exist
  /home/sumeet/anzels/config/environment.rb:5:in `&lt;top (required)&gt;'
  Tasks: TOP =&gt; environment
  (See full trace by running task with --trace)
  </code></pre>
  
  <p><em>config/enviormenr.rb</em></p>
  
  <pre><code># Load the Rails application.
  require File.expand_path('../application', __FILE__)
  
  # Initialize the Rails application.
  Rails.application.initialize!
  </code></pre>
  
  <p>please help</p>