Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I tried all of the solutions above and nothing worked, I gave up but luckily I later stumbled upon this post <a href="http://jooglar.com/edely/content/installing-libcurl-ruby-windows" rel="nofollow">http://jooglar.com/edely/content/installing-libcurl-ruby-windows</a> and the instructions there worked perfectly. </p> <p>Here are the directions, in case the website goes belly up:</p> <hr> <p><strong>1. Download the "libcurl" version of the library</strong><br> From <a href="http://curl.haxx.se/dlwiz/?type=lib" rel="nofollow">http://curl.haxx.se/dlwiz/?type=lib</a></p> <p><strong>2. Install wherever, but the path cannot have spaces.</strong><br> Be sure that when you unzip the file, you find the directories “bin” and “include”</p> <p><strong>3. Add the libcurl path (ending in /bin;) to the system <code>PATH</code> variable</strong><br> <strong>WARNING:</strong> USE <code>/</code> INSTEAD OF <code>\</code> in the PATH. No spaces allowed in the path. For example: <code>C:/curl/curl-7.26.0-devel-mingw32/bin;</code></p> <p><strong>4. Install the gem</strong><br> <strong>WARNING:</strong> AGAIN, USE <code>/</code> INSTEAD OF <code>\</code> in the PATH. See above.</p> <p>Example command: <code>gem install curb -- --with-curl-lib=C:/curl/curl-7.26.0-devel-mingw32/bin --with-curl-include=C:/curl/curl-7.26.0-devel-mingw32/include</code></p> <hr> <p>[NB: Note the standalone <code>--</code> before <code>--with-...</code>, this was a gotcha for me.]</p> <p>At this point, it should work. It worked for me. If it doesn't, you could try the rest of the instructions:</p> <hr> <p>If it does not work, copy the following <code>.dll</code> files to the ruby/bin directory and run again the previous command.</p> <ul> <li><code>libcurl.dll</code> </li> <li><code>libssl32.dll</code> </li> <li><code>libeay32.dll</code> </li> </ul> <p>Also, if that does not work...update the DevKit and run again the previous command. Download the latest version and from a console go to the DevKit directory and run <code>ruby dk.rb install --force</code></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload