因此,通过阅读文档,我尝试调用rspec的方式是:java-jar jruby-complete-1.6.7.jar-S规范-b-f d rsspec_sanity_check.rb
我也尝试过rspec而不是spec。在每种情况下,我都会得到错误:jruby:没有这样的文件或目录--spec(LoadError)
我不知道在这里该做什么。虽然文档中说jruby-complete有rsspec,但我似乎无法运行它
我正试图使用jruby-complete来引导我们基于java的构建系统,这样我就不必在每个新的vm上安装gem了。
对如何让jruby完成rsspec工作有什么想法吗?
似乎与1.6.7:配合得很好
$ java -jar org.jruby/jruby-complete.jar -S rspec
Run filtered using {:full_description=>/(?-mix:Handler)/}
No examples were matched. Perhaps {:if=>#<Proc:0x8d00c6@/opt/local/rvm/gems/ree-1.8.7-2011.12/gems/rspec-core-2.5.1/lib/rspec/core/configuration.rb:50>, :unless=>#<Proc:0x12dcb8c@/opt/local/rvm/gems/ree-1.8.7-2011.12/gems/rspec-core-2.5.1/lib/rspec/core/configuration.rb:51>} is excluding everything?
Finished in 0.002 seconds
0 examples, 0 failures