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?