【发布时间】:2015-04-02 12:22:02
【问题描述】:
我正在使用 Jruby 1.6.8 和 Rails 3.1 使用 TestUnit 和 Capybara 进行测试,在进行了一些测试后,我开始看到“运行测试时出错:single! “。它曾经发生在我身上,但在再次启动测试后它被修复了。
我正在启动这个命令:
jruby --debug -S rake test TEST=path_to_my_test
甚至尝试使用:rake test TEST=path_to_my_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!
有人知道怎么回事吗?
提前谢谢你。
【问题讨论】:
标签: ruby-on-rails capybara jruby testunit