Created
December 12, 2011 21:46
-
-
Save nullstyle/1469255 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'typhoeus' | |
Typhoeus::Request.get("http://msn.com") #succeeds | |
Typhoeus::Request.post("http://msn.com") #segfault |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://curl.haxx.se/download/curl-7.23.1.tar.gz | |
tar -xzvf curl-7.23.1.tar.gz | |
cd curl-7.23.1 | |
./configure | |
make && sudo make install | |
sudo /sbin/ldconfig | |
sudo yum remove -y curl-devel | |
sudo gem install typhoeus --no-rdoc --no-ri -- —-with-curl=/usr/local | |
bundle config build.typhoeus —-with-curl=/usr/local | |
cd .. | |
wget http://www.sqlite.org/sqlite-autoconf-3070900.tar.gz | |
tar -xzvf sqlite-autoconf-3070900.tar.gz | |
cd sqlite-autoconf-3070900 | |
./configure | |
make && sudo make install | |
sudo /sbin/ldconfig | |
sudo gem install sqlite3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment