Cannot get curb gem to install on Windows Mac running Vista

Mark's Avatar

Mark

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:

    --with-opt-dir
    --without-opt-dir
    --with-opt-include
    --without-opt-include=${opt-dir}/include
    --with-opt-lib
    --without-opt-lib=${opt-dir}/lib
    --with-make-prog
    --srcdir=.
    --curdir
    --ruby=C:/InstantRails/ruby/bin/ruby
    --with-curl-dir
    --with-curl-include
    --without-curl-include=${curl-dir}/include
    --with-curl-lib
    --without-curl-lib=${curl-dir}/lib
    --with-curllib
    --without-curllib

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-0.4.4.0 for inspection.
Results logged to C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/curb-0.4.4.0/ext/gem_make.out

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:

    http://stackoverflow.com/questions/1151408/how-do-you-get-libcurl-l...

    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

Generic

? 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

Recent Discussions

23 Oct, 2014 05:37 PM
21 Oct, 2014 10:47 AM
18 Oct, 2014 08:39 PM
16 Oct, 2014 12:41 PM
06 Oct, 2014 02:30 PM