Skip to content

Could not start Spork server for Test::Unit & RSpec #9

@kjorg50

Description

@kjorg50

This issue is regarding my new branch: "spork"

Here is the terminal output after I run bundle exec guard

kylejorgensen@ubuntu:~/cs/rails_apps/QwikStubs$ bundle exec guard
16:12:56 - INFO - Guard uses NotifySend to send notifications.
16:12:56 - INFO - Guard uses TerminalTitle to send notifications.
16:12:56 - INFO - 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...
Rack::File headers parameter replaces cache_control after Rack 1.5.

*** Mocha deprecation warning: Change `require 'mocha'` to `require 'mocha/setup'`.

Spork is ready and listening on 8989!
16:13:26 - ERROR - Could not start Spork server for Test::Unit & RSpec after 30 seconds. I will continue waiting for a further 60 seconds.

16:14:27 - ERROR - Could not start Spork server for Test::Unit & RSpec. Make sure you can use it manually first.

16:14:29 - INFO - Guard::RSpec is running
16:14:29 - INFO - Running all specs
Running tests with args ["--drb", "-f", "progress", "-r", "/var/lib/gems/1.9.1/gems/guard-rspec-2.4.1/lib/guard/rspec/formatter.rb", "-f", "Guard::RSpec::Formatter", "--failure-exit-code", "2", "spec"]...
..[DEPRECATED] The 'safe' write concern option has been deprecated in favor of 'w'.
......................

Finished in 4.2 seconds
24 examples, 0 failures


Randomized with seed 10609

Done.

16:14:41 - INFO - Guard is now watching at '/home/kylejorgensen/cs/rails_apps/QwikStubs'
[1] guard(main)> 

What I don't understand are the errors that come up after it says that Spork is ready. Because if you just wait, evenutally the tests begin and then run successfully.

I followed the setup from my Ruby on Rails Tutorial book, and also this link:
http://asciicasts.com/episodes/285-spork

If you guys have any insight into this issue, it would be appreciated. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions