From: paul.s.barriscale@... Date: 2006-09-26T03:13:16+09:00 Subject: commit2rss.rb - running on hooking up CVS NT ------_=_NextPart_001_01C6E0CE.390FE8E5 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, =20 I'm trying to get Dave Thomas' commit2rss.rb ruby script running on = windows XP using CVS NT v2.0.51d. The script is at = http://pragmaticprogrammer.com/downloads/commit2rss/commit2rss.rb.txt =20 I've removed unix references to etc and Etc.getpwuid parts. and my = command in the CVS loginfo is as follows =20 # Ruby script to generate an RSS feed for commits to Underwriting module Underwriting/* D:\development\test-workspace\scripts\commit2rss.rb %{} =20 I'm stumped as to why I'm getting the following error on commit. I've = included the some verbose output from cvs. =20 -> = loginfo:Parse_Info(D:/development/test-cvs-respo/Underwriting/JavaSource,= D:\development\test-workspace\scripts\commit2rss.rb %{} ) -> run_popen(D:\development\test-workspace\scripts\commit2rss.rb = "Underwriting/JavaSource" ) D:/development/test-workspace/scripts/commit2rss.rb:44:in `gets': Bad = file descriptor (Errno::EBADF) from D:/development/test-workspace/scripts/commit2rss.rb:44 =20 Line 44 refers to this block of code =20 while line =3D STDIN.gets line.chomp! if line =3D~ /^[A-Z].*:\s*$/ desc << "

" << line << "" else desc << line end desc << "
" end =20 I'd appreciate any help on this. =20 Thanks, Paul This message is for the designated recipient only and may contain = privileged, proprietary, or otherwise private information. If you have = received it in error, please notify the sender immediately and delete = the original. Any other use of the email by you is prohibited. ------_=_NextPart_001_01C6E0CE.390FE8E5--