From: "Admin @ Universitas magis" Date: 2009-09-09T07:29:47+09:00 Subject: Trouble with xmpp4r-simple.rb 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? Attachments: http://www.ruby-forum.com/attachment/4017/mercutiobot.rb -- Posted via http://www.ruby-forum.com/.