From: Aaron Patterson Date: 2010-04-19T03:40:27+09:00 Subject: Re: Running script on Windows XP --huq684BweRXVnRxX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 19, 2010 at 03:32:28AM +0900, Joe Blocks wrote: >=20 > Hi >=20 > I'm using Ruby 1.9.1p378 on Windows XP and I'm having a very bad time > trying to run a script with no errors - I am opening a CMD windows and > typing >=20 > ruby test.rb >=20 > Then I am opening several HTML page - I am NOT 'puts' -ing them, just > parsing them with nokogiri. >=20 > What I get is all the html I am parsing being output. I get this even if > I comment out all puts statements. >=20 > Is there something about nokogiri or ruby that coule be doing this? It's hard to say. Can you put the contents of "test.rb" somewhere so that we can review the code? --=20 Aaron Patterson http://tenderlovemaking.com/ --huq684BweRXVnRxX Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) iQEcBAEBAgAGBQJLy1GbAAoJEJUxcLy0/6/G2E4H/iU9RfsOgtTmnHk/OjoW2aHW 5PpDjopnekay7UpJ1CpqQWAHY/JFeuJzcfK7b7odLHY9tym3o6R8VDzoFHKp+nJf QzRD40Bkn3MOjSCzuYek2a3qCkcb/D6K5NFAYcARfROa5pQ1vdRqQi7UyQYP050c PmmNOqN8LY7dwKmkH16A+8KgJYpUrSzVqVeYnlPkecEZIPL5n9el5JRNK5y4JsYu GjpcOq4Tz8obP2Yubryl49lCBGanm5GojFMhhc0tqu/9pPuLDv9tjIF122qBi8y9 d0lXHzkGT7o3gd4CbyR5WWNFzyU1DPo/6VtujmPqxWALS0K7TrP34qeh/4Ab9oU= =1kGH -----END PGP SIGNATURE----- --huq684BweRXVnRxX--