From 1fd21891fde8e97cb91941c32f7e49c4f4881fa7 Mon Sep 17 00:00:00 2001 From: Tom Gilbert Date: Wed, 24 Aug 2005 19:12:14 +0000 Subject: applied patch from ticket #15, and added .inspect to try and work out what exception "reset by peer" gives you. One thing I'm finding troublesome with ruby is working out what exceptions things are going to throw. Especially poorly documented stuff implemented in C. Why the Socket module throws an exception for "reset by peer" which *isn't* a SocketError I don't know, but apparently it does. --- bin/rbot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/rbot b/bin/rbot index 6ede9a61..44261789 100755 --- a/bin/rbot +++ b/bin/rbot @@ -56,7 +56,7 @@ end begin require 'rbot/ircbot' rescue LoadError => e - puts "Error: couldn't find the rbot/ircbot module for loading\n - did you install rbot using install.rb?" + puts "Error: couldn't find the rbot/ircbot module for loading\n - did you install rbot using setup.rb?" exit 2 end -- cgit v1.2.3