Not working

it is not getting the emails from my gmail account. Had to manaully follow what the install script did so I knew what and where to put the various files.

WHen starting the service I get the message:
[root@centos65 nagMailAck]# /usr/lib/ruby/1.8/net/imap.rb:905:in `connect’: SSL_connect SYSCALL returned=5 errno=0 state=SSLv2/v3 read server hello A (OpenSSL::SSL::SSLError)
from /usr/lib/ruby/1.8/net/imap.rb:905:in `initialize’
from /usr/local/bin/nagMailAck/nagMailACK.rb:96:in `new’
from /usr/local/bin/nagMailAck/nagMailACK.rb:96
from /usr/local/bin/nagMailAck/nagMailACK.rb:94:in `loop’
from /usr/local/bin/nagMailAck/nagMailACK.rb:94

I can only assume that isnt suppose to happen. Any ideas?