Phil Tomson wrote:

> I just found out about registry.rb in the Win32 distribution of Ruby (it's
> for accessing the Windows registry).
>
>
> I got:
>
> c:/programs/ruby/lib/ruby/1.8/win32/registry.rb:340:in `initialize':
>   uninitialized constant Win32::Registry::Error::Errno (NameError)
>
> <snips>
>
>
> Any ideas?
>
> Phil


There were slight changes in Rev 1.2, yours is Rev 1.1

---------------------------
? Quick fix:

  Replace line 333:
      class Error < ::SystemCallError
  with:
      class Error < ::StandardError

---------------------------

Or d/l from CVSweb
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ext/Win32API/lib/win32/registry.rb

# Next to "Revision 1.2", right-click on (download) and "Save target as ..."
                                                        (depending on your browser)


I think Usa is the [author/]maintainer  (U.Nakamura <usa / osb.att.ne.jp>)



daz