[Rspec-users] DRb error when using rails_spec on OS X

Sam Livingston-Gray geeksam at gmail.com
Wed Sep 6 13:53:19 EDT 2006

Hi, all-

I started playing with RSpec in a new Rails app.  I've installed the
plugin and bootstrapped it, and run 'script/rails_spec_runner' (not
rails_spec_server as the website currently reads, btw) in a separate
shell, then in another shell I run 'script/rails_spec' and get the

/usr/local/lib/ruby/1.8/drb/drb.rb:837:in `getaddrinfo': getaddrinfo:
No address associated with nodename (SocketError)
        from /usr/local/lib/ruby/1.8/drb/drb.rb:837:in `open_server_inaddr_any'
        from /usr/local/lib/ruby/1.8/drb/drb.rb:860:in `open_server'
        from /usr/local/lib/ruby/1.8/drb/drb.rb:756:in `open_server'
        from /usr/local/lib/ruby/1.8/drb/drb.rb:754:in `open_server'
        from /usr/local/lib/ruby/1.8/drb/drb.rb:1336:in `initialize'
        from /usr/local/lib/ruby/1.8/drb/drb.rb:1624:in `start_service'
        from script/rails_spec:6

Running 'rake spec:models' does work, though with the same overhead of
'rake test:units'.

I'm on Mac OS 10.4.7 running ruby 1.8.4 (2005-12-24)
[powerpc-darwin8.4.0] and RSpec 0.6.3.  The firewall on this machine
is active, but I've opened port 8989 for both TCP and UDP (you know,
just in case) with no change in behavior.

Any help would be appreciated.


More information about the Rspec-users mailing list