Skip to content

Instantly share code, notes, and snippets.

Created December 19, 2012 16:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/4337892 to your computer and use it in GitHub Desktop.
Save anonymous/4337892 to your computer and use it in GitHub Desktop.
Install ruby 1.9.3-p327 with libyaml on Centos
#!/bin/sh
wget http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz
tar xzvf yaml-0.1.4.tar.gz
cd yaml-0.1.4
./configure --prefix=/usr/local
make
make install
cd
wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p327.tar.gz
tar xzvf ruby-1.9.3-p327.tar.gz
cd ruby-1.9.3-p327
./configure --prefix=/usr/local --enable-shared --disable-install-doc --with-opt-dir=/usr/local/lib
make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment