Error with rake

I’ve been following the RoR tutorial at
http://wiki.rubyonrails.com/rails/pages/TutorialStepOne

When I enter the rake command (in step 5 of the tutorial) I get an
error that database_test does not exist… If I manually create an
empty database with that name in mysql the rake command executes
without errors.

Should rails be creating the database_test at some point, perhaps at
the same time it creates database_development? (I might be missing
something in the tutorial).

Thanks for any help

-SH

Should rails be creating the database_test at some point, perhaps at
the same time it creates database_development?

I’m not aware that rails actually creates the database for you… I
always just create my _development and _test databases manually when
starting a project, then use migrations & rake from there on

I’m not aware that rails actually creates the database for you…

Guess I didn’t follow your link to “rake db:create”

I’ve found if I use rake db:create:all magically all databases are
created… took me a while…

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs