Skip to content
alehmann edited this page Apr 12, 2012 · 4 revisions

guard-rspec with multi_spork support

This fork of guard-rspec has been created to add multi_spork support.
Installation instructions follow.

Configure the required gems

Add to your Gemfile:

group :test do
  gem 'spork', :git => "https://github.com/phuongnd08/spork.git", :branch => "v0.9.x"
  gem 'multi_spork', :git => "https://github.com/phuongnd08/multi_spork.git"
  gem 'guard-spork'
  gem 'guard-rspec', :git => "https://github.com/alehmann/guard-rspec.git", :branch => "multi-spork-support"
end

Install the gems

bundle install

Generate the Guardfile

bundle exec guard init

Enable multi_spork support

Modify Guardfile to enable multi_spork with :multi_spork => true, i. e. the guard for rspec should be started with:

guard 'rspec', :multi_spork => true, :version => 2 do