Typhoeus Windows installation

前端 未结 2 908
借酒劲吻你
借酒劲吻你 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: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)

提交回复
热议问题