On Ubuntu 11.0.4 and Fedora: I'm getting a "Address already in use - bind(2) (Errno::EADDRINUSE)" error while using spork.
If I load spork using a different port, then rspec no longer detects a drb server - guard doesn't work with it either. I've tried installing a different OS, as well as using VMWare, and I get the same error.
How do I proceed?
Thanks!
When using a non-default port for the DRb server you can tell RSpec to use that alternate port by adding --drb-port [PORT] to your rspec call.
spork -p 5555
rspec spec --drb --drb-port 5555
Of course you can put all the rspec options into your .rspec file, then just remember to run that port when you fire up spork.