On Mon, Feb 17, 2014 at 1:18 PM, Pop Pop <li...@ruby-forum.com> wrote:

> i try to run this
> rake db:migrate
>
> How i fix this

>  [root@localhost catarse]# rake db:migrate

> FATAL:  database "catarse_development" does not exist

Does it not seem pretty apparent that you can't run a migration on a
non-existent database?

And the answer to that situation would be "create it first"?

You might want to try `rake -T` to see what kind of things you can do
with rake besides run migrations.

P.S. Doing development-related tasks as 'root' is almost certainly a
Very Bad Idea -- just sayin' ...

HTH,
-- 
Hassan Schroeder ------------------------ hassan.schroe...@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yBLg5LPe_%3DVc2KK2uyQ-6pXnBK6U1jbkas3%3DGOkLV9QfA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to