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:ininitialize': 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:inraise' from C:/Ruby/lib/ruby/1.8/resolv.rb:600:in
request’
from C:/Ruby/lib/ruby/1.8/resolv.rb:474:ineach_resource' from C:/Ruby/lib/ruby/1.8/resolv.rb:919:in
resolv’
from C:/Ruby/lib/ruby/1.8/resolv.rb:917:ineach' from C:/Ruby/lib/ruby/1.8/resolv.rb:917:in
resolv’
from C:/Ruby/lib/ruby/1.8/resolv.rb:916:ineach' ... 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?