Re: Why Ruby stops working under cygwin
- From: Luis Lavena <luislavena@xxxxxxxxx>
- Date: Mon, 22 Dec 2008 09:40:03 -0800 (PST)
On Dec 21, 2:47 pm, Li Chen <chen_...@xxxxxxxxx> 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.
--
Posted viahttp://www.ruby-forum.com/.
From my experience Cygwin doens't play nice with Windows Native API.For having Win32OLE working properly I suggest you use One-Click Ruby
Installer instead.
http://rubyforge.org/projects/rubyinstaller
--
Luis Lavena
.
- Follow-Ups:
- Re: Why Ruby stops working under cygwin
- From: Li Chen
- Re: Why Ruby stops working under cygwin
- References:
- Why Ruby stops working under cygwin
- From: Li Chen
- Why Ruby stops working under cygwin
- Prev by Date: Re: mkmf creates broken makefile (Windows)
- Next by Date: Re: [QUIZ] Dreaming of a Ruby Christmas (#187)
- Previous by thread: Re: Why Ruby stops working under cygwin
- Next by thread: Re: Why Ruby stops working under cygwin
- Index(es):
Relevant Pages
|