您的位置:首页 > 大数据 > 人工智能

[rails]Spork中出现“Could not start Spork server for RSpec”的解决方案

2013-10-03 17:20 501 查看
出现错误时,console上出现:

16:59:14 - INFO - Starting Spork for RSpec, Test::Unit
Couldn't find a supported test framework that begins with 'testunit'

Supported test frameworks:
( ) Cucumber
(*) RSpec

Legend: ( ) - not detected in project   (*) - detected
Using RSpec, Rails
Preloading Rails environment
Loading Spork.prefork block...
Spork is ready and listening on 8989!
16:59:44 - ERROR - Could not start Spork server for RSpec, Test::Unit after 30 seconds. I will continue waiting for a further 60 seconds.


解决方案如下:

1)关掉guard服务器

2)删除test文件夹

3)重启guard 

问题就解决了。 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  Rails guard
相关文章推荐