# Evolution bindings

**URL:** <https://www.ruby-forum.com/t/evolution-bindings/141517>\
**Category:** Ruby\
**Created:** [June 26, 2008, 6:20pm UTC](https://www.ruby-forum.com/t/evolution-bindings/141517 "2008-06-26T18:20:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![acgreen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/3bc359/32.png) [@acgreen](https://www.ruby-forum.com/u/acgreen)\
**Post date:** [June 26, 2008, 6:20pm UTC](https://www.ruby-forum.com/t/evolution-bindings/141517/1 "2008-06-26T18:20:30Z")

</div>

I’m looking for a ruby/evolution binding. I’ve installed the Hardy Heron  
binaries for Revolution but get an error with the following.  
Â  
require ‘rubygems’  
require 'revolution

r = Revolution::Revolution.new  
res = r.get\_all\_addressbook\_sources()

– or –

res = Revolution.get\_all\_addressbook\_sources()

./revolution\_test.rb:10: undefined method `get\_all\_addressbook\_sources’  
for Revolution:Module (NoMethodError)

Maybe I’m doing sth wrong with my Ruby (bit of a Ruby noob)

The last date in the Revolution discussion forum is 2005!! I’m assuming  
this is no longer an ongoing project.

If not, are there any other bindings? I’ve seen SWIG but haven’t had a  
chance to really look at it to see if it’s what I need.

CIA

-Ants

Disclaimer: Technically speaking, I am always wrong!

```
  __________________________________________________________

```

Not happy with your email address?.  
Get the one you really want - millions of new email addresses available  
now at Yahoo! [http://uk.docs.yahoo.com/ymail/new.html](http://uk.docs.yahoo.com/ymail/new.html)

---

<div class="post-metadata">

**Author:** ![acgreen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/3bc359/32.png) [@acgreen](https://www.ruby-forum.com/u/acgreen)\
**Post date:** [June 26, 2008, 6:35pm UTC](https://www.ruby-forum.com/t/evolution-bindings/141517/2 "2008-06-26T18:35:08Z")

</div>

On Fri, 2008-06-27 at 00:37 +0900, Anthony G. wrote:

> res = Revolution.get\_all\_addressbook\_sources()
> 
> ./revolution\_test.rb:10: undefined method `get\_all\_addressbook\_sources’ for Revolution:Module (NoMethodError)
> 
> Maybe I’m doing sth wrong with my Ruby (bit of a Ruby noob)
> 
> The last date in the Revolution discussion forum is 2005!! I’m assuming this is no longer an ongoing project.

Yeah, it’s been a long time since I worked on that, and the docs on  
[revolution.rubyforge.org](http://revolution.rubyforge.org) seem to have been generated from the current  
code in Subversion. You may want to check out the code and build it  
from source.

Yours,

tom

---

<div class="post-metadata">

**Author:** ![acgreen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/3bc359/32.png) [@acgreen](https://www.ruby-forum.com/u/acgreen)\
**Post date:** [June 26, 2008, 7:06pm UTC](https://www.ruby-forum.com/t/evolution-bindings/141517/3 "2008-06-26T19:06:50Z")

</div>

Okay, where is the SVN?

Thx

Disclaimer: Technically speaking, I am always wrong!

— On Thu, 26/6/08, Tom C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:  
From: Tom C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Subject: Re: Evolution bindings  
To: “ruby-talk ML” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Date: Thursday, 26 June, 2008, 5:03 PM

On Fri, 2008-06-27 at 00:37 +0900, Anthony G. wrote:

> I’m looking for a ruby/evolution binding. I’ve installed the Hardy  
> Heron binaries for Revolution but get an error with the following.
> 
> ./revolution\_test.rb:10: undefined method  
> `get\_all\_addressbook\_sources’ for Revolution:Module (NoMethodError)
> 
> Maybe I’m doing sth wrong with my Ruby (bit of a Ruby noob)
> 
> The last date in the Revolution discussion forum is 2005!! I’m  
> assuming this is no longer an ongoing project.

Yeah, it’s been a long time since I worked on that, and the docs on  
[revolution.rubyforge.org](http://revolution.rubyforge.org) seem to have been generated from the current  
code in Subversion. You may want to check out the code and build it  
from source.

Yours,

tom

```
  __________________________________________________________

```

Not happy with your email address?.  
Get the one you really want - millions of new email addresses available  
now at Yahoo! [http://uk.docs.yahoo.com/ymail/new.html](http://uk.docs.yahoo.com/ymail/new.html)

---

<div class="post-metadata">

**Author:** ![acgreen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/3bc359/32.png) [@acgreen](https://www.ruby-forum.com/u/acgreen)\
**Post date:** [June 26, 2008, 7:27pm UTC](https://www.ruby-forum.com/t/evolution-bindings/141517/4 "2008-06-26T19:27:58Z")

</div>

Okay, Tom, have installed that and will have a play around. My revious  
mail about ‘where is it?’ was referring to SVN.

I am a Ruby nood but not new to development. If this seems like it’s  
worth carrying on, maybe I could help.

At present, though, I have to write a CMS in Rails and it has to  
integrate with Evolution so my time will be short for the next few  
months.

Will be in touch if I need help with it 😉

Thx

-Ants

Disclaimer: Technically speaking, I am always wrong!

— On Thu, 26/6/08, Tom C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:  
From: Tom C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Subject: Re: Evolution bindings  
To: “ruby-talk ML” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Date: Thursday, 26 June, 2008, 5:30 PM

On Thu, 2008-06-26 at 12:05 -0400, Tom C. wrote:

> On Fri, 2008-06-27 at 00:37 +0900, Anthony G. wrote:
> 
> > I’m looking for a ruby/evolution binding. I’ve installed the  
> > Hardy Heron binaries for Revolution but get an error with the following.
> > 
> > ./revolution\_test.rb:10: undefined method  
> > `get\_all\_addressbook\_sources’ for Revolution:Module (NoMethodError)
> > 
> > Maybe I’m doing sth wrong with my Ruby (bit of a Ruby noob)
> > 
> > The last date in the Revolution discussion forum is 2005!! I’m  
> > assuming this is no longer an ongoing project.
> 
> Yeah, it’s been a long time since I worked on that, and the docs on  
> [revolution.rubyforge.org](http://revolution.rubyforge.org) seem to have been generated from the current  
> code in Subversion. You may want to check out the code and build it  
> from source.

I just rebuilt it from source and put the gem here:

[http://rubyforge.org/frs/?group\_id=576](http://rubyforge.org/frs/?group_id=576)

You could download “revolution-0.5.gem.new” and give it a whirl,

Yours,

Tom

```
  __________________________________________________________

```

Not happy with your email address?.  
Get the one you really want - millions of new email addresses available  
now at Yahoo! [http://uk.docs.yahoo.com/ymail/new.html](http://uk.docs.yahoo.com/ymail/new.html)

---

<div class="post-metadata">

**Author:** ![acgreen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/3bc359/32.png) [@acgreen](https://www.ruby-forum.com/u/acgreen)\
**Post date:** [June 27, 2008, 2:21am UTC](https://www.ruby-forum.com/t/evolution-bindings/141517/5 "2008-06-27T02:21:54Z")

</div>

On Fri, 2008-06-27 at 02:25 +0900, Anthony G. wrote:

> Okay, Tom, have installed that and will have a play around. My revious mail about ‘where is it?’ was referring to SVN.

No problem, it’s here:

[http://rubyforge.org/scm/?group\_id=576](http://rubyforge.org/scm/?group_id=576)

> I am a Ruby nood but not new to development. If this seems like it’s worth carrying on, maybe I could help.
> 
> At present, though, I have to write a CMS in Rails and it has to integrate with Evolution so my time will be short for the next few months.
> 
> Will be in touch if I need help with it 😉

Got your email offline, will reply!

Yours,

tom

---

<div class="post-metadata">

**Author:** ![acgreen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/3bc359/32.png) [@acgreen](https://www.ruby-forum.com/u/acgreen)\
**Post date:** [June 26, 2008, 6:38pm UTC](https://www.ruby-forum.com/t/evolution-bindings/141517/6 "2008-06-26T18:38:40Z")

</div>

On Thu, 2008-06-26 at 12:05 -0400, Tom C. wrote:

> > 
> 
> code in Subversion. You may want to check out the code and build it  
> from source.

I just rebuilt it from source and put the gem here:

[http://rubyforge.org/frs/?group\_id=576](http://rubyforge.org/frs/?group_id=576)

You could download “revolution-0.5.gem.new” and give it a whirl,

Yours,

Tom
