Note that there are some explanatory texts on larger screens.

plurals
  1. POInstalling Typhoeus on Ruby on Rails on windows xp (32 bit)
    text
    copied!<p>I've been trying to do some simple "rails server" on my "Ruby on Rails" application, however I'm working with a friend of mine who is using linux, I'm sitting on windows xp (32 bit) everything is going smooth and all, he implement the gem called "curl" and "typhoeus", so in order for me to view it on my localhost:3000 I must install the gems aswell. </p> <p><br> So this is what I wrote: <br> <br> <br></p> <pre><code>D:\&gt;gem install typhoeus Building native extensions. This could take a while... ERROR: Error installing typhoeus: ERROR: Failed to build gem native extension. C:/Ruby187/bin/ruby.exe extconf.rb checking for curl/curl.h in C:/Ruby187/lib/ruby/gems/1.8/gems/typhoeus-0.2.4/cro ss/curl-7.19.4.win32/include... no need libcurl *** 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 --without-make-prog --srcdir=. --curdir --ruby=C:/Ruby187/bin/ruby Gem files will remain installed in C:/Ruby187/lib/ruby/gems/1.8/gems/typhoeus-0. 2.4 for inspection. Results logged to C:/Ruby187/lib/ruby/gems/1.8/gems/typhoeus-0.2.4/ext/typhoeus/ gem_make.out </code></pre> <p><br></p> <p>Yeah it does not look so pretty does it, but apparantly it asks for something called "libcurl", so I downloaded the curl version from internet for windows xp 32bit, I put the exefile &amp; all the dll files in the windows folder. And I attempted to simply write "curl" to see if it worked. This is what I got: <br><br></p> <pre><code>D:\&gt;curl curl: try 'curl --help' or 'curl --manual' for more information </code></pre> <p>And I wrote gem install typhoeus again and I got the same error as above, what am I missing? Does libcurl not come with curl? I am in dire need of help because my friend can't help me because he's a linux-guy. So please help me - tell me what one must do to install typhoeus! (I also tried to write gem install typhoeus-0.2.4 but that threw out some other error:</p> <pre><code>ERROR: Could not find a valid gem 'typhoeus-0.2.4' (&gt;= 0) in any repository </code></pre> <p>)</p> <p>And I wrote that while being in the folder of the ruby on rails application. So I am lost and in great need of help! <br><br></p> <p>Thanks in advance,<br> Harry</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload