Arun Gupta wrote:
> I'm trying to install Typo 5.0.3 and "rake db:create" gives the 
> following error:
> 
> -- cut here --
> (in /Users/arungupta/samples/jruby/typo-5.0.3)
> rake aborted!
> #42000Unknown database 'typo_dev'
> 
> (See full trace by running task with --trace)
> -- cut here --
> 
> I'm able to create other trivial Rails applications and db:create
> database there.
> 
> -Arun
> 
> --
> Web Technologies and Standards
> Sun Microsystems, Inc.
> Blog: http://blogs.sun.com/arungupta

Hi. I just have the same problem yesterday.
Here is my notes so far:

Solving rake db:migrate error
Error:
$ rake db:migrate
(in /Users/johndoe/Sites/MyProject)
rake aborted!
#42000Unknown database 'myDB'
/Users/johndoe/Sites/MyProject/rakefile:10
(See full trace by running task with --trace)

Solution:
1) Open config/application.rb
2) Comment all block related to
     if ActiveRecord::Base.connection.tables.include?("countries")
3) Run the rake again
4) Uncomment the if block

I hope it helps :)

Regards,
Eric
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Typo-list mailing list
Typo-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/typo-list

Reply via email to