rake db:create error:"Unknown database"

62 Aufrufe
Direkt zur ersten ungelesenen Nachricht

Pepe Junty

ungelesen,
24.06.2008, 18:12:5224.06.08
an 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/.
Allen antworten
Antwort an Autor
Weiterleiten
0 neue Nachrichten