From: markgriffin@... (mark G) Date: 2002-08-09T22:44:14+09:00 Subject: Re: ruby sample code runtime problem Tom Gilbert wrote in message news:<20020808181014.GQ5924@offended.co.uk>... > * mark G (markgriffin@tidefans.com) wrote: > > Hello all, > > > > When I run this example: > > > > ie = WIN32OLE.new('InternetExplorer.Application') > > ie.visible = true > > ie.gohome > > > > > > I get the following error: > > > > Error on line 2: uninitialized constant WIN32OLE > > > > > > 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.