This project is archived and is in readonly mode.
create the db directory if it doesn't exist (sqlite, rake db:create)
Reported by cdmwebs | November 26th, 2008 @ 08:32 AM | in 2.x
If someone has checked out a rails app missing the db folder, the rake db:create and db:create:all tasks will run without finishing. I added a bit to create the folder (if the DB is /sqlite/) and move on.
Comments and changes to this ticket
-
Daniel Schierbeck December 30th, 2008 @ 04:39 PM
This will only be an issue if there aren't any migrations, as they reside in
db/migrate
, forcing the creation of thedb
directory. Still, some users may not use Active Record migrations, or none has been added yet, so there's no harm in playing it safe. -
Pratik March 8th, 2009 @ 02:24 PM
- Assigned user set to Pratik
- State changed from new to wontfix
db/ folder should be there in the repository with the schema.rb file in it, even if schema.rb is empty.
Thanks !
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>