【发布时间】:2013-01-25 08:43:09
【问题描述】:
我在 Ubuntu 12.04 上的 rails 3.2.11 项目上运行了guard-spork。
我的配置来自railstutorial.org。
Spork 启动,然后守卫说找不到 spork 启动,等待 30 秒,然后 60 秒,然后工作。
它可以工作,但每次启动时都会出错。只是想知道我是否做错了什么。
如何删除 Test::Unit 的挂钩?
错误信息:
16:31:58 - INFO - Starting Spork for RSpec, Test::Unit
Using RSpec
Preloading Rails environment
Couldn't find a supported test framework that begins with 'testunit'
Supported test frameworks:
( ) Cucumber
(*) RSpec
Legend: ( ) - not detected in project (*) - detected
Loading Spork.prefork block...
Rack::File headers parameter replaces cache_control after Rack 1.5.
Spork is ready and listening on 8989!
16:32:28 - ERROR - Could not start Spork server for RSpec, Test::Unit after 30 seconds. I will continue waiting for a further 60 seconds.
16:33:28 - ERROR - Could not start Spork server for RSpec, Test::Unit. Make sure you can use it manually first.
【问题讨论】:
-
请将您的解决方案作为您问题的答案并接受。不要将您的问题标题编辑为“已解决”
-
感谢塞尔坎。我马上改。我的第一个问题,非常感谢您的提醒!
标签: ruby-on-rails rspec guard testunit spork