Running script on Windows XP

J

Joe Blocks

Hi

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

ruby test.rb

Then I am opening several HTML page - I am NOT 'puts' -ing them, just
parsing them with nokogiri.

What I get is all the html I am parsing being output. I get this even if
I comment out all puts statements.

Is there something about nokogiri or ruby that coule be doing this?

Thanks

Joe
 
T

Tiger Big one

Joe said:
Hi

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

ruby test.rb

Then I am opening several HTML page - I am NOT 'puts' -ing them, just
parsing them with nokogiri.

What I get is all the html I am parsing being output. I get this even if
I comment out all puts statements.

Is there something about nokogiri or ruby that coule be doing this?

Thanks

Joe


Hi, I think you will be happy with instantrail!

i am on windows 7 and it works perfectly!

http://instantrails.rubyforge.org/wiki/wiki.pl
 
W

Walton Hoops

Hi

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

ruby test.rb

Then I am opening several HTML page - I am NOT 'puts' -ing them, just
parsing them with nokogiri.

What I get is all the html I am parsing being output. I get this even if
I comment out all puts statements.

Is there something about nokogiri or ruby that coule be doing this?

Thanks

Joe
No. If you provide code however, we might be able to tell you what is.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,190
Members
46,736
Latest member
zacharyharris

Latest Threads

Top