rake db:create error:"Unknown database"

61 views
Skip to first unread message

Pepe Junty

unread,
Jun 24, 2008, 6:12:52 PM6/24/08
to rubyonra...@googlegroups.com
rake db:create stopped working since i updated rails
to 2.1.0. the problem is that this new version of
rake is loading the files in the 'config/initializers' directory,
and one of the files has database operations, so as the database
is not created yet the 'db:create' task halts. i commented
the db calls and the db was created normally.
anyone knows how to avoid this loading? or why rake
is now loading the application context?
--
Posted via http://www.ruby-forum.com/.
Reply all
Reply to author
Forward
0 new messages