Cannot get curb gem to install on Windows Mac running Vista

Mark's Avatar


27 Jan, 2010 06:19 PM

I have ruby running on my machine and I'm using git bash as my terminal. I am trying to install the curb gem so I can run my rspec tests. But everytime I try to install the gem I get the following error:

C:/InstantRails/ruby/bin/ruby.exe extconf.rb install curb checking for curl-config... no
checking for main() in curl.lib... no
extconf.rb failed Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.

Provided configuration options:


extconf.rb:9: Can't find libcurl or curl/curl.h (RuntimeError)

Try passing --with-curl-dir or --with-curl-lib and --with-curl-include options to extconf.

Gem files will remain installed in C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/curb- for inspection.
Results logged to C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/curb-

I cannot figure out how to get this to work. I installed libcurb lib but that did not help.

If someone could provide the steps to overcome this issue I would be greatly appreciative.

  1. Support Staff 1 Posted by Eric Hodel on 27 Jan, 2010 07:10 PM

    Eric Hodel's Avatar

    This is a forum for help with rubygems itself, not individual gems.

  2. Eric Hodel closed this discussion on 27 Jan, 2010 07:10 PM.

  3. Nick Quaranto re-opened this discussion on 27 Jan, 2010 07:17 PM

  4. Support Staff 2 Posted by Nick Quaranto on 27 Jan, 2010 07:17 PM

    Nick Quaranto's Avatar

    This stackoverflow topic seems to be dealing with the same issue:

    If that works out, let us know!

  5. Nick Quaranto closed this discussion on 14 Mar, 2010 04:43 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac