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


出现错误时,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)