ho seguito il spork railscast video e mi dà il seguente errore quando si tenta di eseguire guardia:Problemi con custode, Spork, Rspec & Rails 3
Guard is now watching at '/Users/m/work/'
Starting Spork for Test::Unit & RSpec
Couldn't find a supported test framework that begins with 'testunit'
Supported test frameworks:
() Cucumber
(*) RSpec
Legend: () - not detected in project (*) - detected
Using RSpec
Preloading Rails environment
Loading Spork.prefork block...
Spork is ready and listening on 8989!
--> ERROR: Could not start Spork server for Test::Unit & RSpec. Make sure you can use it manually first.
Guard::RSpec is running, with RSpec 2!
Running all specs
Sembra che il server di spork avvia fine e quindi errori e cerca di andare avanti. Ho provato a fare l'opzione: wait 120 secondi e ha ancora lo stesso problema.
Spork funziona bene se eseguo i test senza guard & guard-spork
Ambiente:
- Mac OSX
- rotaie (3.1.1)
- guardia (0.8.8)
- guard-rspec (0.5.4)
- spork (0.9.0.rc9)
- guard-spork (0.3.1)
In che modo è possibile eseguire il debug di questo problema? Non ho idea da dove cominciare.
hai mantenuto la cartella/test all'interno della tua app? – apneadiving
@apneadiving Yip Ho una cartella/test. Ho provato a creare un nuovo progetto di rotaie con solo le gemme essenziali per il test e un semplice test (1 == 1) e dà ancora lo stesso errore. – Mike
Come posso ottenere una traccia stack da guardia? Potrebbe essere utile. – Mike