Trouble with xmpp4r-simple.rb

Now, the strange thing about this is that this script used to run just
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
warning: (…) interpreted as grouped expression
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:inexception’
from C:/Ruby/lib/ruby/1.8/resolv.rb:600:in raise' from C:/Ruby/lib/ruby/1.8/resolv.rb:600:inrequest’
from C:/Ruby/lib/ruby/1.8/resolv.rb:474:in each_resource' from C:/Ruby/lib/ruby/1.8/resolv.rb:919:inresolv’
from C:/Ruby/lib/ruby/1.8/resolv.rb:917:in each' from C:/Ruby/lib/ruby/1.8/resolv.rb:917:inresolv’
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:instatus’
initialize' from mercutiobot.rb:25:innew’
from mercutiobot.rb:25
Exit code: 1

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

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