# Ruby gem for Growl

**URL:** <https://www.ruby-forum.com/t/ruby-gem-for-growl/188978>\
**Category:** Ruby\
**Created:** [May 21, 2010, 10:58am UTC](https://www.ruby-forum.com/t/ruby-gem-for-growl/188978 "2010-05-21T10:58:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![krypt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/85f322/32.png) [@krypt](https://www.ruby-forum.com/u/krypt)\
**Post date:** [May 21, 2010, 10:58am UTC](https://www.ruby-forum.com/t/ruby-gem-for-growl/188978/1 "2010-05-21T10:58:38Z")

</div>

I’m looking for a gem that’s able to send Growl notifications and  
receive a click-event on the notification. There are some gems available  
but the problem is none of them seem to be compatible with Ruby 1.9. Any  
suggestions?

---

<div class="post-metadata">

**Author:** ![krypt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/85f322/32.png) [@krypt](https://www.ruby-forum.com/u/krypt)\
**Post date:** [May 21, 2010, 11:14am UTC](https://www.ruby-forum.com/t/ruby-gem-for-growl/188978/2 "2010-05-21T11:14:42Z")

</div>

Hi!

How about ruby-growl?  
I use ruby-growl on ruby1.9 with following patch.

require ‘digest/md5’  
module MD5  
def self.new(packet)  
Digest::MD5.new.update packet  
end  
end

---

<div class="post-metadata">

**Author:** ![krypt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/85f322/32.png) [@krypt](https://www.ruby-forum.com/u/krypt)\
**Post date:** [May 21, 2010, 11:41am UTC](https://www.ruby-forum.com/t/ruby-gem-for-growl/188978/3 "2010-05-21T11:41:00Z")

</div>

jugyo kohno wrote:

> Hi!
> 
> How about ruby-growl?  
> I use ruby-growl on ruby1.9 with following patch.
> 
> require ‘digest/md5’  
> module MD5  
> def self.new(packet)  
> Digest::MD5.new.update packet  
> end  
> end  
> Doesn’t appear to be able to capture a click-event which is pretty  
> important for what I want to use it for.

---

<div class="post-metadata">

**Author:** ![krypt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/85f322/32.png) [@krypt](https://www.ruby-forum.com/u/krypt)\
**Post date:** [May 21, 2010, 11:46am UTC](https://www.ruby-forum.com/t/ruby-gem-for-growl/188978/4 "2010-05-21T11:46:54Z")

</div>

On May 21, 2010, at 01:58 , Dimitri Df wrote:

> I’m looking for a gem that’s able to send Growl notifications and  
> receive a click-event on the notification. There are some gems available  
> but the problem is none of them seem to be compatible with Ruby 1.9. Any  
> suggestions?

growl has click events? Google hints no with:

[site:growl.info click event - Google Search](http://www.google.com/search?q=site:growl.info+click+event)

but that might not be the terminology they’re using.

---

<div class="post-metadata">

**Author:** ![krypt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/85f322/32.png) [@krypt](https://www.ruby-forum.com/u/krypt)\
**Post date:** [May 21, 2010, 11:50am UTC](https://www.ruby-forum.com/t/ruby-gem-for-growl/188978/5 "2010-05-21T11:50:41Z")

</div>

Ryan D. wrote:

> On May 21, 2010, at 01:58 , Dimitri Df wrote:
> 
> > I’m looking for a gem that’s able to send Growl notifications and  
> > receive a click-event on the notification. There are some gems available  
> > but the problem is none of them seem to be compatible with Ruby 1.9. Any  
> > suggestions?
> 
> growl has click events? Google hints no with:
> 
> [site:growl.info click event - Google Search](http://www.google.com/search?q=site:growl.info+click+event)
> 
> but that might not be the terminology they’re using.

from [http://growl.info/documentation/developer/introduction.php](http://growl.info/documentation/developer/introduction.php)

"Click context

When you supply a non-NULL click context for a notification, and a click  
callback in the delegate, GAB calls back to your application when the  
notification is clicked or times out."

---

<div class="post-metadata">

**Author:** ![krypt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/85f322/32.png) [@krypt](https://www.ruby-forum.com/u/krypt)\
**Post date:** [May 21, 2010, 11:56am UTC](https://www.ruby-forum.com/t/ruby-gem-for-growl/188978/6 "2010-05-21T11:56:51Z")

</div>

Hi!

How about Growl::Notifier?  
it can receive click event.  
it require RubyCocoa.

> **[GitHub - psychs/growlnotifier: A ruby library which allows you to send Growl...](https://github.com/psychs/growlnotifier)**
>
> A ruby library which allows you to send Growl notifications. Extracted from LimeChat. - GitHub - psychs/growlnotifier: A ruby library which allows you to send Growl notifications. Extracted from Li...
