Erro ao executar rake test:units + rails 3

Galera, estou tentando rodar os tests que fiz para um modelo na linha de comando no diretório raiz do meu projeto.

o comando que utilizo é: rake test:units

porém recebo o seguinte erro:

F:\Desenv\workspace ROR\management>rake test:units
(in F:/Desenv/workspace ROR/management)
Exception `RuntimeError' at F:/Arquivos de programas/Ruby192/bin/ruby.exe - inva
lid switch in RUBYOPT: -e
F:/Arquivos de programas/Ruby192/bin/ruby.exe: invalid switch in RUBYOPT: -e (Ru
ntimeError)
rake aborted!
Command failed with status (1): ["F:/Arquivos de programas/Ruby192/bin/ruby...]
F:/Arquivos de programas/Ruby192/lib/ruby/1.9.1/rake.rb:993:in `block in sh'
F:/Arquivos de programas/Ruby192/lib/ruby/1.9.1/rake.rb:1008:in `call'
F:/Arquivos de programas/Ruby192/lib/ruby/1.9.1/rake.rb:1008:in `sh'
F:/Arquivos de programas/Ruby192/lib/ruby/1.9.1/rake.rb:1092:in `sh'
F:/Arquivos de programas/Ruby192/lib/ruby/1.9.1/rake.rb:1027:in `ruby'
F:/Arquivos de programas/Ruby192/lib/ruby/1.9.1/rake.rb:1092:in `ruby'
F:/Arquivos de programas/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.1/lib/rai
ls/test_unit/testing.rake:26:in `block (2 levels) in define'
F:/Arquivos de programas/Ruby192/lib/ruby/1.9.1/rake.rb:1110:in `verbose'
F:/Arquivos de programas/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.1/lib/rai
ls/test_unit/testing.rake:11:in `block in define'
F:/Arquivos de programas/Ruby192/lib/ruby/1.9.1/rake.rb:634:in `call'
F:/Arquivos de programas/Ruby192/lib/ruby/1.9.1/rake.rb:634:in `block in execute
'
F:/Arquivos de programas/Ruby192/lib/ruby/1.9.1/rake.rb:629:in `each'
F:/Arquivos de programas/Ruby192/lib/ruby/1.9.1/rake.rb:629:in `execute'
F:/Arquivos de programas/Ruby192/lib/ruby/1.9.1/rake.rb:595:in `block in invoke_
with_call_chain'
F:/Arquivos de programas/Ruby192/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchroni
ze'
F:/Arquivos de programas/Ruby192/lib/ruby/1.9.1/rake.rb:588:in `invoke_with_call
_chain'
F:/Arquivos de programas/Ruby192/lib/ruby/1.9.1/rake.rb:581:in `invoke'
F:/Arquivos de programas/Ruby192/lib/ruby/1.9.1/rake.rb:2041:in `invoke_task'
F:/Arquivos de programas/Ruby192/lib/ruby/1.9.1/rake.rb:2019:in `block (2 levels
) in top_level'
F:/Arquivos de programas/Ruby192/lib/ruby/1.9.1/rake.rb:2019:in `each'
F:/Arquivos de programas/Ruby192/lib/ruby/1.9.1/rake.rb:2019:in `block in top_le
vel'
F:/Arquivos de programas/Ruby192/lib/ruby/1.9.1/rake.rb:2058:in `standard_except
ion_handling'
F:/Arquivos de programas/Ruby192/lib/ruby/1.9.1/rake.rb:2013:in `top_level'
F:/Arquivos de programas/Ruby192/lib/ruby/1.9.1/rake.rb:1992:in `run'
F:/Arquivos de programas/Ruby192/bin/rake:31:in `<main>'

Alguém pode ajudar?

cara, não faço ideia se vou lhe ajudar, mas evite usar espaços nos nomes dos diretórios.

experimente remover e tentar executar o comando Agora que vi que vc está usando o ruby 1.9.2 PS: Rails 3 precisa da versão 1.9.2 do ruby, a 1.9.1 não é suportada.

Reinstalei o ruby e rails e o erro mudou.

Eu nao consigo migrar as alteracoes de minhas tabelas na base de desenvolvimento para base de testes.

O meu arquivo schema.rb esta acusando um erro após executar o db:migrate

# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# Note that this schema.rb definition is the authoritative source for your
# database schema. If you need to create the application database on another
# system, you should be using db:schema:load, not running all the migrations
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues).
#
# It's strongly recommended to check this file into your version control system.

ActiveRecord::Schema.define(:version => 20101110190242) do

# Could not dump table "clients" because of following Mysql2::Error
#   Invalid date: BTREE

end

O que pode ser isso?

nao consigo rodar meus testes porque a tabela nao existe na base de testes…caso eu copie ela com o comando db:test:clone_structure na hora que executo o comando test:units ele apaga a tabela da base de testes.

Estou fazendo algo errado?