From: John Date: 2008-04-26T07:35:03+09:00 Subject: Re: Counting Program How are you running this? My snippet works from the command line, I don't know about irb. Save it as 'countly.rb' and try >ruby countly.rb Interesting.