title: Error in migration when deploying ruby on rails application to DigitaOcean using DeployBot
body: <p>I followed the <a href="http://deploybot.com/guides/deploy-ruby-on-rails-to-digitalocean" rel="nofollow">Deploy Ruby on Rails to DigitalOcean</a> Guide with success until I did an actual deploy. My <em>Post-launch commands</em> are as follows:</p>
  
  <pre><code>RAILS_ENV=production
  rvm install
  gem install bundle
  bundle install --deployment
  bundle exec rake db:setup
  bundle exec rake db:migrate
  bundle exec rake assets:precompile
  </code></pre>
  
  <p>The deployment goes through the bundle install but when it comes to executing <code>rake db:setup</code> I get an error </p>
  
  <blockquote>
    <p>ActiveRecord::AdapterNotSpecified: 'development' database is not configured. Available: ["production"]</p>
  </blockquote>
  
  <p>But I thought <code>RAILS_ENV=production</code> would tell <code>db:setup</code> to use the <code>production</code> database but not the <code>development</code></p>
  
  <p>Any ideas?</p>