Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Using curb on Windows #37
I am trying to install the curb gem. Since I need to have "A working (lib)curl installation, with development stuff" installed on my computer, I went to the cURL Download Wizard and downloaded this package.
But adding the bin into my PATH did not produce improvement and I still got an error when I try to install the curb gem, such as:
Even though, curl is already in the PATH.
I also tried raking the gem with this command:
But all it fails saying "make failed" and throwing a bunch of errors like this:
Yeah, really anytime you need to compile source on windows... it's not going to be an easy task... I've thought about setting up a mingw32 build environment and cross compiling binary win32 releases of curb, but don't have a need for it, since I don't use windows... if anyone else is interested in supporting it this would be a different story of course...
I've had curb working with Windows for some time. To pass extconf args to gem, you need an extra pair of dashes. I used the "Win32 - Generic" package, specifically "Win32 2000/XP 7.21.3 libcurl SSL Günter Knauf 3.02 MB", http://www.gknw.net/mirror/curl/win32/curl-7.21.3-devel-mingw32.zip
A few notes:
I have tried every thing but still cant install curb on Windows 10
checking for curl-config... no
Provided configuration options:
Try passing --with-curl-dir or --with-curl-lib and --with-curl-include
extconf failed, exit code 1
Gem files will remain installed in C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/curb-0.9.3 for inspection.