Re: Why Ruby stops working under cygwin



Li Chen wrote:
Hi all,

I want to call voice function using win32ole under cygwin. But Ruby
always stops working and a new window pops up the error message. I
wonder how to fix it.

Thanks,

Li

$ irb
irb(main):001:0> require 'win32ole'
=> true
irb(main):002:0>
irb(main):003:0* v=WIN32OLE.new('SAPI.SpVoice')
=> #<WIN32OLE:0x7ffa1a0c>
irb(main):004:0> v.speak('hello')


Error message in the pop windows:
Ruby interpreter (CUI) 1.8.7.o [i386-cygwin] has stopped working.

Does Cygwin have proper sound drivers installed? Does it know how to
send the sound out?
.



Relevant Pages

  • Re: Why Ruby stops working under cygwin
    ... always stops working and a new window pops up the error message. ... Ruby interpreter 1.8.7.o has stopped working. ...
    (comp.lang.ruby)
  • Why Ruby stops working under cygwin
    ... always stops working and a new window pops up the error message. ... Ruby interpreter 1.8.7.o has stopped working. ...
    (comp.lang.ruby)
  • RE: Error in WMP 11 (version 11.0.6001.7000) for Windows Vista
    ... We not getting an error message but our wmp 11 just stops working for no ... I always get an error and windows shuts down ...
    (microsoft.public.windowsmedia.player)
  • Re: What am I doing wrong?
    ... |generates 100 random words and puts them into an array. ... |def create_list ... including the error message you obtain or ... ruby doesn't know what to do with it. ...
    (comp.lang.ruby)
  • Re: Exceptional Rails Developer
    ... without bothering to actually read the error message -- whereas I ... up the mess at some appreciable cost to yourself. ... I guess you probably don't approve of rescue nil in ruby either lol ... no place for normal human beings in software development;) ...
    (comp.lang.ruby)