Install Ruby Curb gem in windows XP

后端 未结 11 855
无人及你
无人及你 2020-12-15 12:29

I\'m trying to do file uploads with ruby 1.8 and it seems like there are no good out-of-the-box solutions. They all seem to need some 3rd party patch or fork of a project to

11条回答
  •  天涯浪人
    2020-12-15 12:54

    Ultimately, in win7 with ruby 1.9.1 the following worked for me (where paths need to be updated to reflect the location (and version) of your curl version (which can be obtained via http://curl.haxx.se/download.html#Win32))

    gem install curb -- --with-curl-lib="C:/curl/curl-7.21.1-devel-mingw32/bin" --with-curl-include="C:/curl/curl-7.21.1-devel-mingw32/include"
    

    This did take a few minutes to process, so be patient.

提交回复
热议问题