Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Windows: `spork cuc` and `spork rspec` bind to the same port #87

Open
dalton opened this Issue Feb 17, 2011 · 1 comment

Comments

Projects
None yet
2 participants

dalton commented Feb 17, 2011

Just set up spork on Windows and it worked like a charm for Cucumber, but when I tried to run spork rspec concurrently, I received the following message:

/Ruby192/lib/ruby/1.9.1/rinda/ring.rb:35:in 'bind': Only one usage of each socket address (protocol/network address/port) is normally permitted. - bind(2) (Errno::EADDRINUSE)
from /Ruby192/lib/ruby/1.9.1/rinda/ring.rb:35:in initialize' from ring_server.rb:7:innew'
from ring_server.rb:7:in `

'

Owner

timcharper commented Feb 17, 2011

This didn't always used to be… I wonder when it changed :S

You can specify a port to use when launching Spork, at least for Rspec.

See the last example here:

https://github.com/timcharper/spork/blob/master/features/rspec_rails_integration.feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment