#2120 - fix require 'win32/registry'

solves issue #2120