> It seems that the compiler does not like spaces in
> the include path (My ruby install directory is
> D:\Program files\ruby).

Try wrapping the path in quotes for example:

  "D:\Program files\ruby"

Jussi Jumppanen
Author: Zeus for Windows Ruby IDE
http://www.zeusedit.com