Sending messages to gtalk via jabber4r

Hi, all.

I am trying to use jabber4r in my application to send messages via GTalk
server, which is usual Jabber server.

But I cant do it - I suppose due to incorrect configuration properties

Here is my properties

jid: [email protected]/Cerberus
port: 5223
password: somepass
digest: false
recipients: [email protected]

In fact this properties are parsed and used for initializing Jabber4r
instance. Anyway after running my code I have deadlock in following
files. Could anybody help me and show how to use Jabber4r with GTalk.

 c:/progra~1/ruby/lib/ruby/gems/1.8/gems/jabber4r-0.8.0/lib/jabber4r/session.rb:283:in 

stop' c:/progra~1/ruby/lib/ruby/gems/1.8/gems/jabber4r-0.8.0/lib/jabber4r/session.rb:283:inauthenticate’
c:/progra~1/ruby/lib/ruby/gems/1.8/gems/jabber4r-0.8.0/lib/jabber4r/session.rb:141:in
bind' c:/progra~1/ruby/lib/ruby/gems/1.8/gems/cerberus-0.2.0/lib/cerberus/publisher/jabber.rb:10:innotify’
c:/progra~1/ruby/lib/ruby/gems/1.8/gems/cerberus-0.2.0/lib/cerberus/manager.rb:114:in
run' c:/progra~1/ruby/lib/ruby/gems/1.8/gems/cerberus-0.2.0/lib/cerberus/manager.rb:112:inrun’
c:/progra~1/ruby/lib/ruby/gems/1.8/gems/cerberus-0.2.0/lib/cerberus/cli.rb:30:in
initialize' c:/progra~1/ruby/lib/ruby/gems/1.8/gems/cerberus-0.2.0/bin/cerberus:3 c:/progra~1/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:140:inload’
c:/PROGRA~1/ruby/bin/cerberus:18

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs