From: Patrick Spence Date: 2006-07-15T00:27:55+09:00 Subject: Re: A newbie would like some code criticism, please... Tim Hoolihan wrote: > The error is: > C:\tools\scripts\test>ruby itunes.rb > itunes.rb:4:in `ole_methods': Failed to GetTypeInfo (RuntimeError) > HRESULT error code:0x8002801d > Library not registered. from itunes.rb:4 To chime in with the other responses, it sounds like the iTunes.exe, or whatever it's called, is not registered as automation server on your machine. You might try logging into the directory where the executable is installed, and running the following command line: iTunes.exe /regserver -- Posted via http://www.ruby-forum.com/.