From: Gustav Paul Date: 2006-11-30T19:05:18+09:00 Subject: Re: MS Office and win32ole on Linux Li Chen wrote: > Gustav Paul wrote: > >> Hey >> >> I just tried requiring 'win32ole' in my Linux console but it doesn't >> seem to find it. I'm running MS Office under Linux with Crossover >> Office, and was hoping I'd be able to do my MS Office development under >> Linux from now on. >> >> Would getting the win32ole libraries help at all? >> >> Is there something small I'm missing or is this simply too ambitious? >> >> >> Thanks in advance >> Gustav Paul >> gustav@rails.co.za >> > > As far as I know WIN32OLE is a built-in library in the Ruby. In order to > use it you need to put this line > > require 'wine32ole' > > near the top of your script. > > Li > > Hi Thanks for the reply. I tried it in irb, but I get irb(main):001:0> require 'win32ole' LoadError: no such file to load -- win32ole from (irb):1:in `require' from (irb):1 I tried 'wine32ole' as well, same problem. I noticed that on my Windows machine I've got c:\ruby\lib\ruby\1.8\win32 c:\ruby\lib\ruby\1.8\win32ole Directories, which I can't find under /usr/lib/ruby/1.8 Might it be necessary to download the win32ole library? Is there one for Linux? Thanks, I'd really love to be able to develop from Linux, but if all else fails, I suppose I'll make do with Windows :] Gustav