Typhoeus Windows installation

前端 未结 2 911
借酒劲吻你
借酒劲吻你 2020-12-21 04:25

Tried installing Typhoeus on a Windows 7 environment. Gem installs successfully but when trying to run a simple ruby script:: require \'typhoeus\'

Typhoeus.get(\"www

相关标签:
2条回答
  • 2020-12-21 04:43

    Seem to have figured it out. If anyone is having the same issue, make sure to download the following package from curl.haxx.se/download.html

    Win32 2000/XP zip 7.34.0 libcurl SSL Günter Knauf 3.34 MB

    Extract the bin directory to wherever and make sure to add it to your PATH. I also added .DLL to PATHEXT reset comp and it worked.

    0 讨论(0)
  • 2020-12-21 04:53

    I just had the same problem on Windows 7 x64 and answered about it here. Typhoeus requires Ruby-FFI (see this answer) and libcurl.

    The accepted answer is a little out of date now, but the same idea works:

    • Get a libcurl.dll from one of the packages here: https://curl.haxx.se/gknw.net/7.40.0/dist-w64/ and put it on the PATH.

    (I did not add .DLL to the PATHEXT)

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