I am trying to install dm-types for DataMapper on my machine with
gem install dm-types
I\'ve installed Ruby from RubyInstaller (1.9.3) a
Or set your PATH in environment variables to C:\Progra~2\Ruby\Ruby193\bin instead of C:\Program Files\Ruby\Ruby193\bin
Progra~1 should be Program Files, Progra~2 should be Program Files (x86)
It looks the the spaces in the path for ruby are screwing up the makefile. Maybe try creating a symlink on Windows temporarily, like:
mklink /d c:\ruby "C:\Program Files (x86)\Ruby\Ruby193"
and then try installing. You can delete the symlink after installing.
C:\ruby\bin\gem install dm-types
What Mayro said was right on the money, the thing I had to look out for was that In addition to the user PATH the link to the DevKit was also in the System Variables PATH which had the link that was causing my problem.