Installing dm-types on Windows. (Win7 x64)

前端 未结 3 590
一生所求
一生所求 2021-01-06 02:45

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

相关标签:
3条回答
  • 2021-01-06 03:25

    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)

    0 讨论(0)
  • 2021-01-06 03:26

    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
    
    0 讨论(0)
  • 2021-01-06 03:41

    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.

    0 讨论(0)
提交回复
热议问题