Cannot get curb gem to install on Windows Mac running Vista
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.
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Eric Hodel on 27 Jan, 2010 07:10 PM
This is a forum for help with rubygems itself, not individual gems.
Eric Hodel closed this discussion on 27 Jan, 2010 07:10 PM.
Nick Quaranto re-opened this discussion on 27 Jan, 2010 07:17 PM
Support Staff 3 Posted by Nick Quaranto on 27 Jan, 2010 07:17 PM
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!
Nick Quaranto closed this discussion on 14 Mar, 2010 04:43 PM.