Last active
October 13, 2015 19:07
-
-
Save akiatoji/4241705 to your computer and use it in GitHub Desktop.
Installing Ruby 1.9.3 on CentOS 6.3 (and Amazon Linux)
This file contains hidden or 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://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 | |
sudo make install | |
# Add /usr/local/lib in /etc/ld.so.conf.d/usrlocal.conf | |
wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p286.tar.gz | |
tar xzvf ruby-1.9.3-p286.tar.gz | |
cd ruby-1.9.3-p286 | |
./configure --prefix=/usr/local --enable-shared --disable-install-doc --with-opt-dir=/usr/local/lib && make | |
sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment