Closed jamonholmgren closed 7 years ago
I'm trying to add Spork to a Rails 3.2.x app. Spring and Zeus have given me issues, so Spork is my last hope.
Running bundle exec rspec --drb ./spec/controllers/activities_controller_spec.rb results in this:
bundle exec rspec --drb ./spec/controllers/activities_controller_spec.rb
Running tests with args ["--color", "--format", "Fivemat", "./spec/controllers/activities_controller_spec.rb"]... Exception encountered: #<DRb::DRbConnError: druby://localhost:53298 - #<Errno::ECONNREFUSED: Connection refused - connect(2) for "::1" port 53298>> backtrace: /Users/jh/.rubies/ruby-2.1.5/lib/ruby/2.1.0/drb/drb.rb:741:in `rescue in block in open' /Users/jh/.rubies/ruby-2.1.5/lib/ruby/2.1.0/drb/drb.rb:735:in `block in open' /Users/jh/.rubies/ruby-2.1.5/lib/ruby/2.1.0/drb/drb.rb:734:in `each' /Users/jh/.rubies/ruby-2.1.5/lib/ruby/2.1.0/drb/drb.rb:734:in `open' /Users/jh/.rubies/ruby-2.1.5/lib/ruby/2.1.0/drb/drb.rb:1216:in `initialize' /Users/jh/.rubies/ruby-2.1.5/lib/ruby/2.1.0/drb/drb.rb:1196:in `new' /Users/jh/.rubies/ruby-2.1.5/lib/ruby/2.1.0/drb/drb.rb:1196:in `open' /Users/jh/.rubies/ruby-2.1.5/lib/ruby/2.1.0/drb/drb.rb:1109:in `block in method_missing' /Users/jh/.rubies/ruby-2.1.5/lib/ruby/2.1.0/drb/drb.rb:1128:in `with_friend' /Users/jh/.rubies/ruby-2.1.5/lib/ruby/2.1.0/drb/drb.rb:1108:in `method_missing' /Users/jh/.rubies/ruby-2.1.5/lib/ruby/2.1.0/drb/drb.rb:1096:in `respond_to?' /Users/jh/.gem/ruby/2.1.5/gems/spork-1.0.0rc4/lib/spork/run_strategy/forking.rb:10:in `block in run' /Users/jh/.gem/ruby/2.1.5/gems/spork-1.0.0rc4/lib/spork/forker.rb:21:in `block in initialize' /Users/jh/.gem/ruby/2.1.5/gems/spork-1.0.0rc4/lib/spork/forker.rb:18:in `fork' /Users/jh/.gem/ruby/2.1.5/gems/spork-1.0.0rc4/lib/spork/forker.rb:18:in `initialize' /Users/jh/.gem/ruby/2.1.5/gems/spork-1.0.0rc4/lib/spork/run_strategy/forking.rb:9:in `new' /Users/jh/.gem/ruby/2.1.5/gems/spork-1.0.0rc4/lib/spork/run_strategy/forking.rb:9:in `run' /Users/jh/.gem/ruby/2.1.5/gems/spork-1.0.0rc4/lib/spork/server.rb:49:in `run' /Users/jh/.rubies/ruby-2.1.5/lib/ruby/2.1.0/drb/drb.rb:1588:in `perform_without_block' /Users/jh/.rubies/ruby-2.1.5/lib/ruby/2.1.0/drb/drb.rb:1548:in `perform' /Users/jh/.rubies/ruby-2.1.5/lib/ruby/2.1.0/drb/drb.rb:1626:in `block (2 levels) in main_loop' /Users/jh/.rubies/ruby-2.1.5/lib/ruby/2.1.0/drb/drb.rb:1622:in `loop' /Users/jh/.rubies/ruby-2.1.5/lib/ruby/2.1.0/drb/drb.rb:1622:in `block in main_loop' Done.
I've seen a few places saying that certain gems will cause this error, but I'm not using any of those gems. Any ideas?
I'm trying to add Spork to a Rails 3.2.x app. Spring and Zeus have given me issues, so Spork is my last hope.
Running
bundle exec rspec --drb ./spec/controllers/activities_controller_spec.rb
results in this:I've seen a few places saying that certain gems will cause this error, but I'm not using any of those gems. Any ideas?