From: Tom Gilbert Date: 2002-08-10T06:25:48+09:00 Subject: Re: ruby sample code runtime problem * mark G (markgriffin@tidefans.com) wrote: > Tom Gilbert wrote in message news:<20020808181014.GQ5924@offended.co.uk>... > > > The example is from: > > > > > > http://www.ruby.ch/ProgrammingRuby/htmlC/win32.html > > > > > > Any suggestions on how to correct this ? > > > > Did you: > > require 'win32ole' > > first? > > > > Tom. > > >From same link I had ran different example that did have require > statement and I got same result/error as I did from running this > example. > > My guess is since although Im a newbie to Ruby is that It cant find > win32ole stuff. That's fair enough - it's quite possible that the ruby package you installed did not include the win32ole module and that you either need to install it seperately or you need to find a package that does incorporate it. Try the RAA, http://www.ruby-lang.org/en/raa.html, or more specifically: http://www.ruby-lang.org/en/raa-list.rhtml?name=Win32OLE Tom. -- .^. .-------------------------------------------------------. /V\ | Tom Gilbert, London, England | http://linuxbrit.co.uk | /( )\ | Open Source/UNIX consultant | tom@linuxbrit.co.uk | ^^-^^ `-------------------------------------------------------'