I've found the solution myself: You have to require Win32API first.

This does the trick:

require 'Win32API'
require 'win32/clipboard'