netzpirat/guard-cucumber — Issue #29: No errors displayed
Author: Rhodee
Created: 2012-01-10 07:02:47+00:00
State: open

I am learning BDD using cucumber. So any pointers regarding my dotfiles, approach are appreciated. My issues seems almost identical to [this one](https://github.com/netzpirat/guard-cucumber/issues/19). However I am unable to use this solution to solve my problem.

This is the output from my terminal:

Guard uses Libnotify to send notifications.
Guard is now watching at '/home/rhodee/GitRepos/projects/adelante'
Starting Spork for RSpec, Cucumber
Using Cucumber
Using RSpec
Preloading Rails environment
.../support/env.rb has not been bootstrapped. Run spork --bootstrap to do so.
Loading Spork.prefork block...
Preloading Rails environment
Spork is ready and listening on 8990!
Spork is ready and listening on 8989!
Spork server for RSpec, Cucumber successfully started
Running all features
Disabling profiles...
UUU

1 scenario (1 undefined)
3 steps (3 undefined)
0m1.332s

I believe where the `UUU` string appears I should see my errors. I am able to see the errors when running `bundle exec rake cucumber` outside of Guard.

Gemfile:
group :development do
gem 'ffaker'
gem 'annotate', git: 'https://github.com/ctran/annotate_models.git'
gem 'libnotify'
gem 'guard-livereload'
gem 'guard-spork'
gem 'guard-cucumber'
gem 'spork', "~> 0.9.0.rc"
end

group :test do
gem 'rspec-rails', "~> 2.7.0"
gem 'database_cleaner', "~> 0.7.0"
gem 'cucumber-rails', "~> 1.2.1"
gem 'factory_girl_rails', "~> 1.4.0"
gem 'spork', "~> 0.9.0.rc"
end

The Guardfile contains:

guard 'spork' do
watch('config/application.rb')
watch('config/environment.rb')
watch(%r{^config/environments/.*\.rb$})
watch(%r{^config/initializers/.*\.rb$})
watch(%r{^spec/support/.+\.rb$})
watch('Gemfile')
watch('Gemfile.lock')
watch('spec/spec_helper.rb') { :rspec }
watch(%r{features/support/}) { :cucumber }
watch('spec/spec_helper.rb')
end

guard 'cucumber' do
watch(%r{^features/.+\.feature$})
watch(%r{^features/support/.+$}) { 'features' }
watch(%r{^features/step_definitions/(.+)_steps\.rb$}) { |m| Dir[File.join("**/#{m[1]}.feature")][0] || 'features' }
end

guard 'livereload' do
watch(%r{app/.+\.(erb|haml)})
watch(%r{app/helpers/.+\.rb})
watch(%r{(public/|app/assets).+\.(css|js|html)})
watch(%r{(app/assets/.+\.css)\.s[ac]ss}) { |m| m[1] }
watch(%r{(app/assets/.+\.js)\.coffee}) { |m| m[1] }
watch(%r{config/locales/.+\.yml})
end

The error is on the playground branch of my repo [adelante](https://github.com/Rhodee/adelante).

Cheers.