unit test error with win32/taskscheduler

R

rtilley

When I do this:

require 'win32/taskscheduler'
include Win32

I get this error:

This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
C:/Program Files/ruby/lib/ruby/1.8/test/unit/assertions.rb:110: [BUG]
Segmentation fault
ruby 1.8.4 (2005-12-24) [i386-mswin32]
 
R

rtilley

rtilley said:
require 'win32/taskscheduler'
include Win32
require 'test/unit'

I found that when I require in this order:

require 'test/unit'
require 'win32/taskscheduler'
include Win32

The error goes away.
 

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,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top