From: Xeno Campanoli / Eskimo North and Gmail Date: 2010-05-19T06:56:13+09:00 Subject: Re: curl library? On 10-05-18 02:35 PM, Xeno Campanoli / Eskimo North and Gmail wrote: > Two questions: > > 1. How do I install the curl library for Ruby? I thought there was > one...??? > 2. How come when I go 'gem search curl' I get: > >> root@rockhopper:~# gem search curl >> >> *** LOCAL GEMS *** >> >> >> root@rockhopper:~# > ??? > I just got the following responses trying to install curb and curl-multi: # gem install curl-multi Building native extensions. This could take a while... ERROR: Error installing curl-multi: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb extconf.rb:1:in `require': no such file to load -- mkmf (LoadError) from extconf.rb:1 Gem files will remain installed in /var/lib/gems/1.8/gems/curb-0.7.1 for inspection. Results logged to /var/lib/gems/1.8/gems/curb-0.7.1/ext/gem_make.out root@rhaptools:~# gem install curb Building native extensions. This could take a while... ERROR: Error installing curb: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb extconf.rb:1:in `require': no such file to load -- mkmf (LoadError) from extconf.rb:1 Gem files will remain installed in /var/lib/gems/1.8/gems/curb-0.7.1 for inspection. Results logged to /var/lib/gems/1.8/gems/curb-0.7.1/ext/gem_make.out -- "It's the preponderance, stupid!" - Professor Stephen Schneider, IPCC member