What Windows version and SketchUp version ?
EDIT. Nevermind, just go to this post from last Thursday, 1st of May:
➡ Re: get registry string from ruby 2.0
(Also works with older versions, if user has the old "win32ole.so" file downloaded from the Plugins forum [link shown.])