autotest problem

不打扰是莪最后的温柔 提交于 2019-12-05 03:08:33

I don't know japanese, but looking at

http://d.hatena.ne.jp/hkj/20110724

I learned that you can make it work by changing line 226 from:

# hacky_discovery = Gem::Specification.any? { |s| s.name =~ /^rspec/ }

to

# hacky_discovery = true

This line was last modified in this commit: https://github.com/seattlerb/zentest/commit/b462a8f1dcc03528d91c77cabc15f8575d9c378c

This issue is reported here: https://github.com/seattlerb/zentest/issues/5

UPDATE: To solve this problem just upgrade your rubygems: gem update --system

UPDATE 2: ZenTest 4.6.1 solves this problem.

Justin

I had this problem and found it can be avoided by moving from rubygems 1.8.6 to 1.8.5

I just played around with versions in the Gemfile until the problem went away. There is some weird incompatibility between testing components.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!