never seen exit 2 in ruby before. Am I right in assuming that you're following http://tldp.org/LDP/abs/html/exitcodes.html?