How to solve 'libcurl' not found with Rails on Windows

前端 未结 9 1125
旧巷少年郎
旧巷少年郎 2020-12-05 17:48

This is giving me a headache. I\'m continuing a Rails project that started on Linux and I keep getting this when I run Puma on Ruby Mine:

Error:[rake --tasks         


        
9条回答
  •  甜味超标
    2020-12-05 18:17

    Answer that worked for me (W10/Ruby2.6.0) was:

    1. Download cURL from the following URL: https://curl.haxx.se/windows/ (I chose 64bit because that's the system I'm using)
    2. Go into the archive and browse to /bin
    3. Locate libcurl_x64.dll (it may be just libcurl.dll)
    4. Extract to your local drive
    5. Rename it to libcurl.dll if it has the _x64 suffix
    6. Cut + paste the file into the /bin directory of your Ruby installation

提交回复
热议问题