“autotest/rails [...] 不 [...] 存在.中止" [英] "autotest/rails [...] doesn't [...] exist. Aborting"

查看:49
本文介绍了“autotest/rails [...] 不 [...] 存在.中止"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现自动测试已停止工作...

I'm finding that autotest has stopped working...

$ autotest
loading autotest/rails
Autotest style autotest/rails doesn't seem to exist. Aborting.

根据这篇博文,这个错误的常见原因是人们不没有安装 autotest-rails gem.但是,我肯定已经安装了:

According to this blog post, the common reason for this error is that people don't have the autotest-rails gem installed. However, I definitely have that installed:

autotest-rails (4.1.0)
ZenTest (4.1.4, 4.1.3, 4.1.1, 4.0.0, 3.11.1, 3.11.0, 3.10.0, 3.9.3, 3.9.2)

我今天或昨天都没有安装任何新的 gem,尽管我昨天可能已经完成了 gem 更新.

I haven't installed any new gems today or yesterday, though I might have done a gem update yesterday.

我看到提到的另一个问题是与 Ruby 1.9 不兼容,但我使用的是 MRI Ruby 1.8.6.

Another issue I saw mentioned was incompatibility with Ruby 1.9, but I'm using MRI Ruby 1.8.6.

推荐答案

将 ZenTest 从 4.1.4 降级到 4.1.3,自动测试再次工作.

Downgraded ZenTest from 4.1.4 to 4.1.3 and autotest works again.

这篇关于“autotest/rails [...] 不 [...] 存在.中止"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆