bug on Windows version 1.8.4?

R

rick

I posted this to Ruby Forums, but did not get an answer, so I thought
I'd try comp.lang.ruby. If anyone can offer some insight into this,
please let me know.

------------------

require 'open-uri'
#~ When I require all three of the following modules
require 'fileutils'
require 'tempfile'
require 'win32/taskscheduler'

#~ I get this error on Windows 2003 SP1:
#~ This application has requested the Runtime to terminate it in an
unusual way.
#~ Please contact the application's support team for more information.
#~ c:/ruby/lib/ruby/1.8/net/protocol.rb:90: [BUG] Segmentation fault
#~ ruby 1.8.4 (2005-12-24) [i386-mswin32]

#~ When I comment out any one of the three modules, it works fine.
#~ Is this a bug or am I doing something wrong?

def read_a_webpage
#~ Happens with 'Kernel.open' or just 'open'
page = Kernel.open('http://google.com/').read
puts page
end
 

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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top