guard/guard-rspec — pull request #175 by jabr (2013-04-11 21:31:27+00:00)
Title: For DRb service, use 127.0.0.1 instead of localhost.

The DRb mode fails on OSX when something has required resolv-replace. For
example:

Running tests with args ["--drb", "-f", "progress", "-r", "/usr/local/Cellar/ruby/2.0.0-p0/lib/ruby/gems/2.0.0/gems/guard-rspec-2.5.2/lib/guard/rspec/formatter.rb", "-f", "Guard::RSpec::Formatter", "--failure-exit-code", "2", "spec/unit/models/user_spec.rb"]...
Exception encountered: #>

The issue appears to be differing resolution of 'localhost' (returning an IPv4 vs IPv6 address), and simply replacing 'localhost' with 127.0.0.1 avoids the problem.