Note that there are some explanatory texts on larger screens.

plurals
  1. POGrowl with guard and spork fails silently on OS 10.6.6
    text
    copied!<p>I get no Growl notifications when tests pass or fail. I've gone through all the setup guides I can find.</p> <p><strong>Details</strong></p> <p>I run <code>guard</code> and it starts Spork fine:</p> <pre><code>Using RSpec Preloading Rails environment Loading Spork.prefork block... Spork is ready and listening on 8989! </code></pre> <p>When I change a spec file, everything seems OK:</p> <pre><code>Running: spec/unit/category_spec.rb Running tests with args ["--color", "--format", "progress", "--format", "Guard::RSpec::Formatter::NotificationRSpec", "--out", "/dev/null", "--require", "/Users/John/.rvm/gems/ruby-1.9.2-p290/gems/guard-rspec-0.5.2/lib/guard/rspec/formatters/notification_rspec.rb", "spec/unit/category_spec.rb"]... . Finished in 0.2063 seconds 1 example, 0 failures Done. </code></pre> <p>But... nothing from Growl. </p> <p><strong>What I've Tried</strong></p> <ul> <li>Ticked Guard in the Applications tab in Growl pref pane</li> <li>Installed latest Growl for Snow Leopard - V1.2.2</li> <li>Growl is started and working OK - I enable iTerm and I get notifications from that fine.</li> <li>Added <code>rb-fsevent</code>, <code>growl</code> and <code>growl_notify</code> to gem file and ran bundle install</li> <li>Installed Growl Notify package from the Growl Downloads page.</li> <li>Restarted my Mac</li> </ul> <p><strong>Gemfile</strong></p> <pre><code>group :development, :test do gem 'factory_girl' gem 'rspec-rails' gem "guard-rspec" gem "spork", "&gt; 0.9.0.rc" gem "guard-spork" gem 'rb-fsevent' gem 'growl_notify' gem 'growl' end </code></pre> <p><strong>Update</strong></p> <p>By complete chance I found that when I removed the <code>--drb</code> option from the guard file:</p> <p>Before:</p> <pre><code>guard 'rspec', :version =&gt; 2, :cli =&gt; "--drb" do </code></pre> <p>After:</p> <pre><code>guard 'rspec', :version =&gt; 2, :cli =&gt; "" do </code></pre> <p>Growl started working. But when I do this, the tests take ages to run again.</p> <p><strong>Growl works OR tests are fast ...but not both!</strong></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload