Created
February 17, 2012 04:45
-
-
Save westwickfarrow/1850747 to your computer and use it in GitHub Desktop.
Ruby + zlipg + readline + ssl
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
Install pre-requisites | |
apt-get -y install build-essential libssl-dev libreadline5-dev zlib1g-dev | |
Download and install | |
cd /usr/local/src | |
wget http://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6.tar.gz | |
tar zxvf ruby-1.8.6.tar.gz | |
cd ruby-1.8.6.tar.gz | |
./configure --prefix=/usr/local --with-openssl-dir=/usr --with-readline-dir=/usr --with-zlib-dir=/usr | |
make | |
make install | |
ruby -ropenssl -rzlib -rreadline -e "puts :success" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment