Forum: RSpec DRB errors running rake pre_commit

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
D323e0daf5c222c68f89e0566002d0cc?d=identicon&s=25 Doug (Guest)
on 2009-05-02 14:09
(Received via mailing list)
Hi list,

I checked out the rspec-dev repository on a MBP (Leopard) and tried to
run the pre_commit task after going through the setup/configuration
steps on http://wiki.github.com/dchelimsky/rspec/contribute.

I'm getting DRB errors related to script/spec_server when running
specs: Address already in use - bind(2) (Errno::EADDRINUSE). Running
lsof -i tcp:8989 shows:

ruby    9674 douglas    5u  IPv4 0x6538a68      0t0  TCP
localhost:sunwebadmins (LISTEN)

I've tried changing the DRB port to 20111 and running rake pre_commit
again but the same problem comes up. Is this something people have
come across before?
5d38ab152e1e3e219512a9859fcd93af?d=identicon&s=25 David Chelimsky (Guest)
on 2009-05-02 14:35
(Received via mailing list)
On Sat, May 2, 2009 at 2:11 AM, Doug <bianster@gmail.com> wrote:
> ruby    9674 douglas    5u  IPv4 0x6538a68      0t0  TCP
> localhost:sunwebadmins (LISTEN)
>
> I've tried changing the DRB port to 20111 and running rake pre_commit
> again but the same problem comes up. Is this something people have
> come across before?

I actually just noticed it a couple of days ago. I was able to resolve
it by building and installing the rspec gem, so there is an apparent
dependency on that being present. We're going to be re-vamping (read
*simplifying*) the whole rspec-dev setup in the next month or so, so
I'm not going to try to fix this right now, but installing the gem
should solve it for you.

Cheers,
David
D323e0daf5c222c68f89e0566002d0cc?d=identicon&s=25 Doug (Guest)
on 2009-05-03 12:56
(Received via mailing list)
Thanks David, that did it for me.
This topic is locked and can not be replied to.