{"comment":{"created_at":"2011-10-14T15:35:16Z","body":"The problem was with 'growl_notify' gem, as soon as i tooked it out of the Gemfile i could see the cucumber error detail. I couldn't use ruby_gntp in my Snow Leopard machine but growl gem works fine. My test group looks like this:\r\n<pre><code>\r\ngroup :test do\r\n  gem 'database_cleaner'\r\n  gem 'rails3-generators' #mainly for factory_girl & simple_form at this point\r\n  gem 'rspec-rails'\r\n  gem 'factory_girl_rails'\t# mocking\r\n  gem 'cucumber-rails'\r\n  gem \"pickle\"\t\t\t# gives you a lot of already defined cucumber steps\r\n  gem 'capybara'\r\n  gem 'guard' \r\n  #gem 'growl_notify' # if used, guard doesn't show the errors\r\n  gem 'growl'\t\t# guard uses to notify\r\n  gem 'guard-cucumber'\r\n  gem 'rb-fsevent'\t\t# required by guard for notifications\r\n  gem \"guard-rspec\"\t\t# run rspec when a spec is saved\r\n  gem \"launchy\" \t\t# show the web page in case of error\r\n  gem \"spork\", \"> 0.9.0.rc\" # Improve loading times during testing\r\n  gem \"guard-spork\"\r\nend\r\n</pre></code>\r\n\r\nThanks a lot!","updated_at":"2011-10-14T15:35:16Z","url":"https://api.github.com/repos/netzpirat/guard-cucumber/issues/comments/2407974","id":2407974,"user":{"avatar_url":"https://secure.gravatar.com/avatar/b0aca21c21b50adf4493a3916392749f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"b0aca21c21b50adf4493a3916392749f","url":"https://api.github.com/users/restebanez","id":349536,"login":"restebanez"}},"action":"created","issue":{"number":19,"created_at":"2011-10-12T21:36:16Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"\r\nHi there,\r\n\r\nWhen i use :cli option (no matter what options i specify), guard hides the cucumber errors and shows a \"Done.\" instead\r\n\r\nGuardfile with :cli\r\n  guard 'cucumber', :change_format => 'pretty', :cli => \"--drb\"\r\n\r\n<pre><code>\r\nrestebanez@Rodrigo-Estebanez-MacBook-Pro:~/agi [develop] guard\r\nPlease install rb-fsevent gem for Mac OSX FSEvents support\r\nUsing polling (Please help us to support your system better than that).\r\nGuard is now watching at '/Users/restebanez/agi'\r\nStarting Spork for RSpec & Cucumber \r\nUsing RSpec\r\nUsing Cucumber\r\nPreloading Rails environment\r\nPreloading Rails environment\r\nLoading Spork.prefork block...\r\nLoading Spork.prefork block...\r\nSpork is ready and listening on 8989!\r\nSpork is ready and listening on 8990!\r\nSpork server for RSpec & Cucumber successfully started\r\nGuard::RSpec is running, with RSpec 2!\r\nRun Cucumber features features/app/app.feature\r\nUsing the default profile...\r\nRunning tests with args [\"--require\", \"/Users/restebanez/.rvm/gems/ruby-1.9.2-p290@agi/gems/guard-cucumber-0.7.2/lib/guard/cucumber/notification_formatter.rb\", \"--format\", \"Guard::Cucumber::NotificationFormatter\", \"--out\", \"/dev/null\", \"--require\", \"features\", \"features/app/app.feature\", \"--format\", \"pretty\", \"--strict\", \"--tags\", \"~@wip\", \"--no-profile\"]...\r\nDisabling profiles...\r\nFeature: Show App page\r\n  As a user\r\n  I want Agi to show me the configuration and status of an app\r\n\r\n  Background:           # features/app/app.feature:5\r\n    Given an app exists # features/step_definitions/pickle_steps.rb:4\r\n\r\n  Scenario: Show an app that has never been deployed # features/app/app.feature:8\r\n    And I go to the app show page                    # features/step_definitions/web_steps.rb:49\r\nDone.\r\n</pre></code>\r\n\r\n\r\n\r\n\r\nIf i removed the :cli option in my Guardfile, it shows things correctly:\r\n<pre><code>\r\nrestebanez@Rodrigo-Estebanez-MacBook-Pro:~/agi [develop] guard\r\nPlease install rb-fsevent gem for Mac OSX FSEvents support\r\nUsing polling (Please help us to support your system better than that).\r\nGuard is now watching at '/Users/restebanez/agi'\r\nStarting Spork for RSpec & Cucumber \r\nUsing RSpec\r\nUsing Cucumber\r\nPreloading Rails environment\r\nPreloading Rails environment\r\nLoading Spork.prefork block...\r\nLoading Spork.prefork block...\r\nSpork is ready and listening on 8989!\r\nSpork is ready and listening on 8990!\r\nSpork server for RSpec & Cucumber successfully started\r\nGuard::RSpec is running, with RSpec 2!\r\nRun Cucumber features features/app/app.feature\r\nDisabling profiles...\r\nFeature: Show App page\r\n  As a user\r\n  I want Agi to show me the configuration and status of an app\r\n\r\n  Background:           # features/app/app.feature:5\r\n    Given an app exists # features/step_definitions/pickle_steps.rb:4\r\n\r\n  Scenario: Show an app that has never been deployed # features/app/app.feature:8\r\n    And I go to the app show page                    # features/step_definitions/web_steps.rb:49\r\n      Could not figure out a path for [\"the app\"] {:extra=>\"show\"} (RuntimeError)\r\n      ./features/support/paths.rb:41:in `path_to'\r\n      ./features/step_definitions/web_steps.rb:50:in `/^(?:|I )go to (.+)$/'\r\n      features/app/app.feature:9:in `And I go to the app show page'\r\n    Then I should see \"Undeployed changes\" alert     # features/app/app.feature:10\r\n      Undefined step: \"I should see \"Undeployed changes\" alert\" (Cucumber::Undefined)\r\n      features/app/app.feature:10:in `Then I should see \"Undeployed changes\" alert'\r\n\r\nFailing Scenarios:\r\ncucumber features/app/app.feature:8 # Scenario: Show an app that has never been deployed\r\n\r\n1 scenario (1 failed)\r\n3 steps (1 failed, 1 undefined, 1 passed)\r\n0m1.453s\r\n\r\nYou can implement step definitions for undefined steps with these snippets:\r\n\r\nThen /^I should see \"([^\"]*)\" alert$/ do |arg1|\r\n  pending # express the regexp above with the code you wish you had\r\nend\r\n</pre></code>\r\n\r\n\r\nThanks!\r\n","comments":6,"title":"It doesn't show the errors when :cli option is used","updated_at":"2011-10-14T15:35:16Z","url":"https://api.github.com/repos/netzpirat/guard-cucumber/issues/19","id":1893835,"assignee":null,"milestone":null,"closed_at":"2011-10-14T08:29:42Z","user":{"avatar_url":"https://secure.gravatar.com/avatar/b0aca21c21b50adf4493a3916392749f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"b0aca21c21b50adf4493a3916392749f","url":"https://api.github.com/users/restebanez","id":349536,"login":"restebanez"},"html_url":"https://github.com/netzpirat/guard-cucumber/issues/19","labels":[],"state":"closed"},"legacy":{"issue_id":1893835,"comment_id":2407974}}