# Trouble with xmpp4r-simple.rb

**URL:** <https://www.ruby-forum.com/t/trouble-with-xmpp4r-simple-rb/175148>\
**Category:** Ruby\
**Created:** [September 9, 2009, 12:29am UTC](https://www.ruby-forum.com/t/trouble-with-xmpp4r-simple-rb/175148 "2009-09-09T00:29:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Admin\_S\_U](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/db5fbb/32.png) [@Admin\_S\_U](https://www.ruby-forum.com/u/Admin_S_U)\
**Post date:** [September 9, 2009, 12:29am UTC](https://www.ruby-forum.com/t/trouble-with-xmpp4r-simple-rb/175148/1 "2009-09-09T00:29:40Z")

</div>

Now, the strange thing about this is that this script used to run just  
fine.  
Yet, after having run it a few times, for absolutely no reason (No ruby  
updates or anything have been executed by me) it has suddenly decided to  
stop working.

The following is what the debug returns:

> ruby mercutiobot.rb  
> C:/Ruby/lib/ruby/gems/1.8/gems/xmpp4r-simple-0.8.8/lib/xmpp4r-simple.rb:339:  
> warning: (…) interpreted as grouped expression  
> C:/Ruby/lib/ruby/gems/1.8/gems/xmpp4r-simple-0.8.8/lib/xmpp4r-simple.rb:492:  
> warning: useless use of true in void context  
> C:/Ruby/lib/ruby/1.8/resolv.rb:600:in `initialize': wrong number of arguments (0 for 1) (ArgumentError) from C:/Ruby/lib/ruby/1.8/resolv.rb:600:in`exception’  
> from C:/Ruby/lib/ruby/1.8/resolv.rb:600:in `raise' from C:/Ruby/lib/ruby/1.8/resolv.rb:600:in`request’  
> from C:/Ruby/lib/ruby/1.8/resolv.rb:474:in `each_resource' from C:/Ruby/lib/ruby/1.8/resolv.rb:919:in`resolv’  
> from C:/Ruby/lib/ruby/1.8/resolv.rb:917:in `each' from C:/Ruby/lib/ruby/1.8/resolv.rb:917:in`resolv’  
> from C:/Ruby/lib/ruby/1.8/resolv.rb:916:in `each' ... 11 levels... from C:/Ruby/lib/ruby/gems/1.8/gems/xmpp4r-simple-0.8.8/lib/xmpp4r-simple.rb:147:in`status’  
> from  
> C:/Ruby/lib/ruby/gems/1.8/gems/xmpp4r-simple-0.8.8/lib/xmpp4r-simple.rb:90:in  
> `initialize' from mercutiobot.rb:25:in`new’  
> from mercutiobot.rb:25  
> Exit code: 1

Can anyone tell me why it is suddenly deciding not to work?
