Skip to content

Which Growl library should I use

netzpirat edited this page Oct 12, 2011 · 2 revisions

Try growl_notify first if you're on MRI or ruby_gntp if you're on JRuby, MacRuby or Rubinius. Use growl when you have some problems with both.


If you like to have Growl notifications on Mac OS X, you can choose between the following:

The difference is how these gems interacts with Growl: growl_notify uses applescript bindings through rb-appscript, ruby_gntp sends network packages via the Growl Notification Transport Protocol and growl executes the growlnotify command.

The benefit of both growl_notify and ruby_gntp is that you don't have to download and install the growlnotify command manually, so this is generally the recommended way of getting growl support. If you have Homebrew installed, you'd simply install growlnotify with brew install growlnotify.

The downside of growl_notify is that there are some known issues:

  • It doesn't work on Rubinius due to a bug in rb-appscript.
  • It doesn't work on MacRuby.
  • It may give you an exception when using with Spork, but others have reported that it works well.

Please feel free to add your experience.