I try to make a simple "rails" server in my "Ruby on Rails" application, however I work with my friend who uses linux, I sit on windows xp (32 bit) everything runs smoothly and everything, it implements a stone called "curl "and typhoid, so in order to watch it on my localhost: 3000, I must also install gems.
So here is what I wrote:
D:\>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
Yes, it doesn’t look so pretty, but it asks for something called "libcurl", so I downloaded the curl version from the Internet for windows xp 32bit, I put the exefile and all the DLL files in the Windows folder, And I tried to just write "curl" to see if it worked. This is what I got:
D:\>curl
curl: try 'curl --help' or 'curl --manual' for more information
gem install typhoeus, , , ? libcurl ? , , -linux. , , - , , ! ( gem install typhoeus-0.2.4, :
ERROR: Could not find a valid gem 'typhoeus-0.2.4' (>= 0) in any repository
)
, ruby on rails. !
,