I was trying to get ruby-growl to work with Growl 1.1.1 on OS X 10.5 in order to use this cool timer script by Jeremy Hinegardner to work.

When I ran the following script:

I got this error:

ruby-growl.rb:187:in `send': Connection refused - send(2) (Errno::ECONNREFUSED)

Here’s how to fix that on OS X 10.5

  1. Go to System Preferences and click Growl
  2. Choose Network
  3. Check ‘Listen for incoming notifications’
  4. Check ‘Allow remote application registration’. Don’t worry about setting a password for now.
  5. Run the above script and you should see a Growl alert
  6. You should now be able to uncheck ‘Allow remote application registration’ and it will still work
Source: zenspider.com
  1. katsyoshi reblogged this from bbrinck
  2. bbrinck posted this