Topic: Problems Windows 7 and rails

Hello my friends...
I have problem with comand rake db::create:all

rake aborted!
Don't know how to build task 'db::create:all'

(See full trace by running task with --trace)
c:/Ruby/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block in top_level'
c:/Ruby/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
c:/Ruby/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
c:/Ruby/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `block in run'
c:/Ruby/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
c:/Ruby/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
c:/Ruby/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>'
c:/Ruby/bin/rake:23:in `load'
c:/Ruby/bin/rake:23:in `<main>'

I'm using windows 7 and mysql 5.5 .

Thanks.

Last edited by jonison (2012-05-29 09:54:38)

Re: Problems Windows 7 and rails

First of all you should be using ruby version 1.8.7 or preferably 1.9.2. NOT 1.9.1
The command should be rake db:create
NOT rake db:create:all
Make sure you have the relevant MySQL libraries installed
For Linux sudo apt-get install libmysql-ruby, not sure what you need for windows. Haven't been anywhere near a windows os for years. Sorry.

Hope that helps

What you want and what you need are too often not the same thing!
When your head is hurting from trying to solve a problem, stop standing on it. When you are the right way up you will see the problem differently and you just might find the solution.
(Quote by me 15th July 2009)