我有我的rails 3.2.11項目在Ubuntu 12.04上運行guard-spork。Guard + spork + Rspec問題 - 如何刪除Test :: Unit的鉤子?
我從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.
請將您的解決方案作爲您的問題的答案並接受它。不要編輯您的問題標題爲「已解決」 – 2013-02-09 22:04:47
謝謝Serkan。我現在就改變它。我的第一個問題,所以我很欣賞頭! – 2013-02-09 22:36:43