Hi,
I created a clean rails 3 project and installed rspec 2 beta 22, created
a simple test case and run all my test using “rake spec”, i get this
error:
D:/ruby/rubies/jruby-1.5.2/bin/jruby.bat -S bundle exec rspec
“./spec/test_spec.rb”
D:/ruby/rubies/jruby-1.5.2/lib/ruby/1.8/optparse.rb:1451:in complete': invalid option: --runner (OptionParser::InvalidOption) from D:/ruby/rubies/jruby-1.5.2/lib/ruby/1.8/optparse.rb:1449:in
catch’
from D:/ruby/rubies/jruby-1.5.2/lib/ruby/1.8/optparse.rb:1449:in
complete' from D:/ruby/rubies/jruby-1.5.2/lib/ruby/1.8/optparse.rb:1262:in
parse_in_order’
from D:/ruby/rubies/jruby-1.5.2/lib/ruby/1.8/optparse.rb:1255:in
catch' from D:/ruby/rubies/jruby-1.5.2/lib/ruby/1.8/optparse.rb:1255:in
parse_in_order’
from D:/ruby/rubies/jruby-1.5.2/lib/ruby/1.8/optparse.rb:1249:in
order!' from D:/ruby/rubies/jruby-1.5.2/lib/ruby/1.8/optparse.rb:1340:in
permute!’
from D:/ruby/rubies/jruby-1.5.2/lib/ruby/1.8/optparse.rb:1361:in
parse!' from D:/ruby/rubies/jruby-1.5.2/lib/ruby/gems/1.8/gems/rspec-core-2.0.0.beta.22/lib/rspec/core/option_parser.rb:17:in
parse!’
from
D:/ruby/rubies/jruby-1.5.2/lib/ruby/gems/1.8/gems/rspec-core-2.0.0.beta.22/lib/rspec/core/option_parser.rb:4:in
parse!' from D:/ruby/rubies/jruby-1.5.2/lib/ruby/gems/1.8/gems/rspec-core-2.0.0.beta.22/lib/rspec/core/configuration_options.rb:59:in
parse_env_options’
from
D:/ruby/rubies/jruby-1.5.2/lib/ruby/gems/1.8/gems/rspec-core-2.0.0.beta.22/lib/rspec/core/configuration_options.rb:48:in
parse_options' from D:/ruby/rubies/jruby-1.5.2/lib/ruby/gems/1.8/gems/rspec-core-2.0.0.beta.22/lib/rspec/core/runner.rb:22:in
run’
from
D:/ruby/rubies/jruby-1.5.2/lib/ruby/gems/1.8/gems/rspec-core-2.0.0.beta.22/bin/rspec:3
from
D:/ruby/rubies/jruby-1.5.2/lib/ruby/gems/1.8/gems/rspec-core-2.0.0.beta.22/bin/rspec:19:in
`load’
from D:\ruby\rubies\jruby-1.5.2\bin\rspec:19
Any idea why this happens? I found no clues about it searching in
google, yet.