Search code examples
ruby-on-railstestingrspecrubyminespork

Problems with Spork & Rspec in rubymine


Trying to use Rspec with Spork in RubyMine;

Gemfile:

gem 'spork', '~> 1.0rc'

.rspec:

--color
--drb

spec_helper.rb.

$ spork rspec


Using RSpec, Unknown
  -- Starting to fill pool...
     Wait until at least one slave is provided before running tests...
  ** CTRL+BREAK to stop Spork and kill all ruby slave processes **
Spork is ready and listening on 8989!
  -- Rinda Ring Server listening for connections...

   -- build slave 1...
   -- build slave 2...
Loading Spork.prefork block...
Loading Spork.prefork block...
Rack::File headers parameter replaces cache_control after Rack 1.5.
Rack::File headers parameter replaces cache_control after Rack 1.5.
  --> DRb magazine_slave_service: 1 provided...
  --> DRb magazine_slave_service: 2 provided...

(Rspec, Unknown?! WTF) And.. nothing more in output. How to run specs?

What I'm doing wrong? =)


Solution

  • Thanks everybody. Problem solved. My mistake, need to use $ rspec .. instead of $ rake spec