Quantcast
Channel: Active questions tagged ruby - Stack Overflow
Viewing all articles
Browse latest Browse all 4628

'development' database is not configured

$
0
0

I am getting this error while doing rake db:migrate of newly cloned app.

'development' database is not configured. Available: ["production"]

So after reading the error, I am doing RAILS_ENV=production rake db:migrate

But this isn't working either.

My database.yml has

production:adapter: postgresqlencoding: unicodedatabase: testpool: 5username: adminpassword: adminport: 5433

Please suggest.


Viewing all articles
Browse latest Browse all 4628

Latest Images

Trending Articles



Latest Images