public
Description: Like a modern code version of the mythical beast with 100 serpent heads, Typhoeus runs HTTP requests in parallel while cleanly encapsulating handling logic.
Home | Edit | New

Home

Welcome to the http-machine wiki!

OS X: Install a more recent libcurl in usr/local that matches Apple’s installed version:


curl -O http://curl.haxx.se/download/curl-7.19.4.tar.gz
tar xzf curl-7.19.4.tar.gz
cd curl-7.19.4
./configure --with-ssl --with-gssapi
make
sudo make install  

If you have ruby 1.8.5, the RSTRING_PTR macro isn’t defined. I added this to ext/typhoeus/native.h:

/* added just before final #endif */
#define RSTRING_PTR(s) (RSTRING(s)->ptr)
#define RSTRING_LEN(s) (RSTRING(s)->len)

Last edited by dmag, Tue Jul 14 12:04:04 -0700 2009
Home | Edit | New
Versions: