On 6/13/06, Wai-Kee Chung <wai-kee.chung / uk.bnpparibas.com> wrote: > I am attempting to use the MSScriptcontrol with rubyscript: > > objShell = WIN32OLE.new("WScript.Shell") > > com1 = WIN32OLE.new('comobject.name') > script = WIN32OLE.new("MSScriptControl.ScriptControl") > script.language = "RubyScript" > > script.addObject("com1",comObject,true) > > However the following error occurs: > [Bug] Segmentation fault > ruby 1.8.4 (2005-12-24) [i386-mswin32] > > Any ideas? Or am I doing something wrong here? > Possibly you're using the One-Click Installer version of Ruby. If so, you need to use ActiveScriptRuby. The English language page is here: http://arton.hp.infoseek.co.jp/index.html Regards, Sean