title: heroku gives error ActiveRecord::AdapterNotSpecified: 'production' database is not configured. Available: ["development", "test"]
body: <p>My database.yml</p>
  
  <pre><code>development:
    adapter: mysql2
    encoding: utf8
    reconnect: false
    database: organic_tomatoes_development
    pool: 5
    username: root
    password: password
  
  test:
    adapter: mysql2
    encoding: utf8
    reconnect: false
    database: organic_tomatoes_test
    pool: 5
    username: root
    password: password
  </code></pre>
  
  <p>I deploy my site on heroku.
  When I run <code>heroku run rake db:migrate</code>
  it gives an error</p>
  
  <pre><code>ActiveRecord::AdapterNotSpecified: 'production' database is not configured. Available: ["development", "test"]
  </code></pre>
  
  <p>How can I solve this error?</p>