Ruby on rails Jruby+;测试单元&x2B;水豚

Ruby on rails Jruby+;测试单元&x2B;水豚,ruby-on-rails,capybara,jruby,testunit,Ruby On Rails,Capybara,Jruby,Testunit,我正在与Jruby 1.6.8和Rails 3.1一起使用TestUnit和Capybara进行测试,在做了一些测试之后,我开始看到“运行测试时出错:单一! “。这件事有时发生在我身上,但在再次启动测试后,它被修复了 我正在启动这个命令: jruby --debug -S rake test TEST=path_to_my_test 即使尝试:rake test test=path\u to\u my\u test我也无法修复它 这是我的日志: OpenJDK 64-Bit Server VM

我正在与Jruby 1.6.8和Rails 3.1一起使用TestUnit和Capybara进行测试,在做了一些测试之后,我开始看到“运行测试时出错:单一! “。这件事有时发生在我身上,但在再次启动测试后,它被修复了

我正在启动这个命令:

jruby --debug -S rake test TEST=path_to_my_test
即使尝试:
rake test test=path\u to\u my\u test
我也无法修复它

这是我的日志:

OpenJDK 64-Bit Server VM warning: You have loaded library /home/jmolina/.rvm/rubies/jruby-1.6.8/lib/native/i386-Linux/libjffi-1.0.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
Errors running test:single!
OpenJDK 64位服务器虚拟机警告:您已加载library/home/jmolina/.rvm/rubies/jruby-1.6.8/lib/native/i386-Linux/libjffi-1.0。因此可能已禁用堆栈保护。VM现在将尝试修复堆栈保护。
强烈建议您使用“execstack-c”修复库,或使用“-z noexecstack”链接库。
运行测试时出错:单一!
有人知道发生了什么事吗


提前谢谢。

最后,我意识到我的测试数据库被删除了(我不知道为什么)。所以我重新创建了它,现在它运行良好